This commit is contained in:
2026-09-01 15:29:44 -04:00
commit f172014102
422 changed files with 114388 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
/// @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