pleascach/include/glm/gtx/projection.inl
connellpaxton c9e2877530 Added shader compilation to build process
Created mechanism to construct pipelines, still need to finish debugging that.
2024-01-25 17:07:47 -05:00

11 lines
232 B
C++

/// @ref gtx_projection
namespace glm
{
template<typename genType>
GLM_FUNC_QUALIFIER genType proj(genType const& x, genType const& Normal)
{
return glm::dot(x, Normal) / glm::dot(Normal, Normal) * Normal;
}
}//namespace glm