mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-24 11:59:14 +01:00
merge local branch 'mover_in_c++'
This commit is contained in:
11
ref/glm/glm/gtx/projection.inl
Normal file
11
ref/glm/glm/gtx/projection.inl
Normal file
@@ -0,0 +1,11 @@
|
||||
/// @ref gtx_projection
|
||||
/// @file glm/gtx/projection.inl
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user