new_rotation_matrix

Function new_rotation_matrix 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn new_rotation_matrix( elements: *const [f64; 9], ) -> *mut Rotation3<f64>
Expand description

Initialize a 3D rotation matrix from raw components and retrieve the C pointer to its address. This function DOES NOT check whether the matrix elements provided form a valid member of SO(3)

ยงSafety

When finished with the underlying rotation matrix initialized by this function the caller must remember to free the rotation matrix memory using the free_rotation_matrix_memory FFI function