Flow Visualisation
GLM_GTX_perpendicular

Perpendicular of a vector from other one. More...

Collaboration diagram for GLM_GTX_perpendicular:

Functions

template<typename vecType >
vecType glm::perp (vecType const &x, vecType const &Normal)
 

Detailed Description

Perpendicular of a vector from other one.

<glm/gtx/perpendicular.hpp> need to be included to use these functionalities.

Function Documentation

template<typename vecType >
vecType glm::perp ( vecType const &  x,
vecType const &  Normal 
)

Projects x a perpendicular axis of Normal. From GLM_GTX_perpendicular extension.