glm::gtx::intersect Namespace Reference
GLM_GTX_intersect extension: Add intersection functions.
More...
|
Functions |
|
template<typename genType> |
| bool | intersectLineSphere (const genType &point0, const genType &point1, const genType ¢er, GLMvalType radius, genType &position, genType &normal) |
| | Compute the intersection of a line and a sphere (From GLM_GTX_intersect extension).
|
|
template<typename genType> |
| bool | intersectLineTriangle (const genType &orig, const genType &dir, const genType &vert0, const genType &vert1, const genType &vert2, genType &position) |
| | Compute the intersection of a line and a triangle (From GLM_GTX_intersect extension).
|
|
template<typename genType> |
| bool | intersectRaySphere (const genType &orig, const genType &dir, const genType ¢er, GLMvalType radius, genType &position, genType &normal) |
| | Compute the intersection of a ray and a sphere (From GLM_GTX_intersect extension).
|
|
template<typename genType> |
| bool | intersectRayTriangle (const genType &orig, const genType &dir, const genType &vert0, const genType &vert1, const genType &vert2, genType &position) |
| | Compute the intersection of a ray and a triangle (From GLM_GTX_intersect extension).
|
Detailed Description
GLM_GTX_intersect extension: Add intersection functions.