pub fn ray_sphere_intersect( ray: &Ray, center: [f32; 3], radius: f32, ) -> Option<f32>
Test ray–sphere intersection.
Returns the smallest positive t, or None if there is no hit.
t
None