Projection of a vector to other one. More...
Functions | |
template<typename vecType > | |
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.
vecType glm::proj | ( | vecType const & | x, |
vecType const & | Normal | ||
) |
Projects x on Normal.
From GLM_GTX_projection extension.