GLM 0.9.5

- Main Page
- Related Pages
- Modules
- Namespaces
- Files

Functions
GLM_GTX_projection
GTX Extensions (Experimental)

## Functions
template<typename vecType >
vecType | 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

vecType glm::proj | ( | vecType const & | x,
|  | vecType const & | Normal
| ) |  |

Projects x on Normal.

From GLM_GTX_projection extension.