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 &center, 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 &center, 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.

Generated on Sat Aug 9 15:48:37 2008 for OpenGL Mathematics by  doxygen 1.5.5