0.9.9 API documenation
|
Perpendicular of a vector from other one. More...
Functions | |
template<typename vecType > | |
GLM_FUNC_DECL vecType | perp (vecType const &x, vecType const &Normal) |
Projects x a perpendicular axis of Normal. More... | |
Perpendicular of a vector from other one.
<glm/gtx/perpendicular.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL vecType glm::perp | ( | vecType const & | x, |
vecType const & | Normal | ||
) |
Projects x a perpendicular axis of Normal.
From GLM_GTX_perpendicular extension.