Header file for the BRL-CAD common definitions.
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)
void bg_ray_invdir(vect_t *invdir, vect_t dir)
Intersection between a ray and an axis-aligned box.
fastf_t vect_t[ELEMENTS_PER_VECT]
3-tuple vector
double fastf_t
fastest 64-bit (or larger) floating point type
fastf_t point_t[ELEMENTS_PER_POINT]
3-tuple point
fundamental vector, matrix, quaternion math macros