BRL-CAD
Collaboration diagram for AABB/Ray Intersection Tests:

Functions

void bg_ray_invdir (vect_t *invdir, vect_t dir)
 Intersection between a ray and an axis-aligned box. More...
 
int bg_isect_aabb_ray (fastf_t *r_min, fastf_t *r_max, point_t opt, const fastf_t *invdir, const fastf_t *aabb_min, const fastf_t *aabb_max)
 

Detailed Description

Function Documentation

◆ bg_ray_invdir()

void bg_ray_invdir ( vect_t invdir,
vect_t  dir 
)

Intersection between a ray and an axis-aligned box.

◆ bg_isect_aabb_ray()

int bg_isect_aabb_ray ( fastf_t r_min,
fastf_t r_max,
point_t  opt,
const fastf_t invdir,
const fastf_t aabb_min,
const fastf_t aabb_max 
)