#[unsafe(no_mangle)]pub unsafe extern "C" fn vector_set_x(
vec_ptr: *mut Vector3<f64>,
x_val: f64,
)Expand description
Set the x component of an existing vector stored at the address of a pointer.
ยงSafety
When finished with the underlying vector, the caller must remember to free the vector memory using the free_vector_memory FFI function