mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-07-01 01:38:50 +02:00
almost first rendering, fixing renderer issues
This commit is contained in:
Vendored
+10
@@ -0,0 +1,10 @@
|
||||
/// @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
|
||||
Reference in New Issue
Block a user