Skip to main content

ray_aabb_intersection

Function ray_aabb_intersection 

Source
pub fn ray_aabb_intersection(
    start: Vector3,
    direction: Vector3,
    min: Vector3,
    max: Vector3,
) -> Option<f32>
Expand description

Returns the first intersection time between a ray and an axis-aligned bounding box.