BRL-CAD
|
Functions | |
int | bg_isect_tri_ray (const point_t orig, const point_t dir, const point_t vert0, const point_t vert1, const point_t vert2, point_t *isect) |
Möller & Trumbore's triangle/ray intersection test. More... | |
int bg_isect_tri_ray | ( | const point_t | orig, |
const point_t | dir, | ||
const point_t | vert0, | ||
const point_t | vert1, | ||
const point_t | vert2, | ||
point_t * | isect | ||
) |
Möller & Trumbore's triangle/ray intersection test.
From the article
"Fast, Minimal Storage Ray-Triangle Intersection", Journal of Graphics Tools, 2(1):21-28, 1997