0.9.9 API documenation
Functions
GLM_GTX_perpendicular

Functions

template<typename genType >
GLM_FUNC_DECL genType perp (genType const &x, genType const &Normal)
 

Detailed Description

Include <glm/gtx/perpendicular.hpp> to use the features of this extension.

Perpendicular of a vector from other one

Function Documentation

◆ perp()

GLM_FUNC_DECL genType glm::perp ( genType const &  x,
genType const &  Normal 
)

Projects x a perpendicular axis of Normal.

From GLM_GTX_perpendicular extension.