new_vector3

Function new_vector3 

Source
#[unsafe(no_mangle)]
pub extern "C" fn new_vector3( x: f64, y: f64, z: f64, ) -> *mut Vector3<f64>
Expand description

Initialize a 3-vector from raw components and retrieve the C pointer to its address.

ยงSafety

When finished with the underlying vector initialized by this function the caller must remember to free the vector memory using the free_vector_memory FFI function