Flow Visualisation

Projection of a vector to other one. More...

Collaboration diagram for GLM_GTX_projection:

Functions

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

Detailed Description

Projection of a vector to other one.

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

Function Documentation

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

Projects x on Normal. From GLM_GTX_projection extension.