Files
deighton-ar/mobile/ios/ViroKit.framework/Headers/glm/gtx/projection.inl
2018-03-27 17:46:15 -07:00

12 lines
279 B
C++
Executable File

/// @ref gtx_projection
/// @file glm/gtx/projection.inl
namespace glm
{
template <typename vecType>
GLM_FUNC_QUALIFIER vecType proj(vecType const & x, vecType const & Normal)
{
return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal;
}
}//namespace glm