0.9.6
|
Functions | |
template<typename vecType > | |
GLM_FUNC_DECL vecType | proj (vecType const &x, vecType const &Normal) |
Projection of a vector to other one.
<glm/gtx/projection.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL vecType glm::proj | ( | vecType const & | x, |
vecType const & | Normal | ||
) |
Projects x on Normal.
From GLM_GTX_projection extension.