viam_normalize_vector

Function viam_normalize_vector 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn viam_normalize_vector( vec_ptr: *mut Vector3<f64>, )
Expand description

Normalizes an existing vector stored at the address of a pointer (vec_ptr)

ยงSafety

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