Add ktx
This commit is contained in:
1 parent
14bd1a9271
commit
13fa90a0e9
3958 files changed
+999286
-4
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user