Functions
GLM_GTX_perpendicular: Perpendicular
GTX Extensions (Experimental)

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

Functions

template<typename T >
detail::tvec2< T > perp (detail::tvec2< T > const &x, detail::tvec2< T > const &Normal)
template<typename T >
detail::tvec4< T > perp (detail::tvec4< T > const &x, detail::tvec4< T > const &Normal)
template<typename T >
detail::tvec3< T > perp (detail::tvec3< T > const &x, detail::tvec3< T > 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

detail::tvec2<T> glm::gtx::perpendicular::perp ( detail::tvec2< T > const &  x,
detail::tvec2< T > const &  Normal 
)

Projects x a perpendicular axis of Normal.

From GLM_GTX_perpendicular extension.

detail::tvec4<T> glm::gtx::perpendicular::perp ( detail::tvec4< T > const &  x,
detail::tvec4< T > const &  Normal 
)

Projects x a perpendicular axis of Normal.

From GLM_GTX_perpendicular extension.

detail::tvec3<T> glm::gtx::perpendicular::perp ( detail::tvec3< T > const &  x,
detail::tvec3< T > const &  Normal 
)

Projects x a perpendicular axis of Normal.

From GLM_GTX_perpendicular extension.