39 #ifndef GLM_GTX_intersect 
   40 #define GLM_GTX_intersect GLM_VERSION 
   44 #include "../gtx/closest_point.hpp" 
   46 #if(defined(GLM_MESSAGES) && !defined(glm_ext)) 
   47 #       pragma message("GLM: GLM_GTX_closest_point extension included") 
   57         template <
typename genType>
 
   59                 genType 
const & orig, genType 
const & dir,
 
   60                 genType 
const & vert0, genType 
const & vert1, genType 
const & vert2,
 
   61                 genType & baryPosition);
 
   65         template <
typename genType>
 
   67                 genType 
const & orig, genType 
const & dir,
 
   68                 genType 
const & vert0, genType 
const & vert1, genType 
const & vert2,
 
   74         template <
typename genType>
 
   76                 genType 
const & rayStarting, genType 
const & rayNormalizedDirection,
 
   77                 genType 
const & sphereCenter, 
const typename genType::value_type sphereRadiusSquered,
 
   78                 typename genType::value_type & intersectionDistance);
 
   82         template <
typename genType>
 
   84                 genType 
const & rayStarting, genType 
const & rayNormalizedDirection,
 
   85                 genType 
const & sphereCenter, 
const typename genType::value_type sphereRadius,
 
   86                 genType & intersectionPosition, genType & intersectionNormal);
 
   90         template <
typename genType>
 
   92                 genType 
const & point0, genType 
const & point1,
 
   93                 genType 
const & sphereCenter, 
typename genType::value_type sphereRadius,
 
   94                 genType & intersectionPosition1, genType & intersectionNormal1, 
 
   95                 genType & intersectionPosition2 = genType(), genType & intersectionNormal2 = genType());
 
  100 #include "intersect.inl" 
  102 #endif//GLM_GTX_intersect