pub fn ray_aabb_intersect(
origin: [f32; 3],
inv_dir: [f32; 3],
aabb: &Aabb,
max_t: f32,
) -> boolExpand description
Test whether a ray defined by origin + t * direction intersects aabb
within [0, max_t].
inv_dir must be the component-wise reciprocal of the ray direction.