vector_get_scaled

Function vector_get_scaled 

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

Initializes a scaled copy of a vector stored at the address of a pointer (vec_ptr) and returns a pointer to the memory of the result

ยงSafety

The caller must remember to free the vector memory of both the input and output vectors when finished with them using the free_vector_memory FFI function