|
Clutter Engine 0.0.1
|
Functions | |
| template<typename genType > | |
| GLM_FUNC_DECL genType | glm::proj (genType const &x, genType const &Normal) |
Include <glm/gtx/projection.hpp> to use the features of this extension.
Projection of a vector to other one
| GLM_FUNC_DECL genType glm::proj | ( | genType const & | x, |
| genType const & | Normal ) |
Projects x on Normal.
| [in] | x | A vector to project |
| [in] | Normal | A normal that doesn't need to be of unit length. |