pub fn check_finite_vec3(v: [f64; 3], name: &str) -> PhysicsResult<[f64; 3]>
Check that a 3D vector has finite components.