pub fn pack_vector_lower(
vector: Vector3D,
non_finite: &str,
out_of_range: &str,
) -> Result<[f32; 3], String>Expand description
Converts a vector to three f32 components, rounding every component
toward negative infinity.
§Arguments
Vector3D- The vector to narrow.&str- The error message for a non-finite component.&str- The error message for an out-of-range component.
§Returns
Result<[f32; 3], String>- The narrowed components, or the first applicable error.