GLM Version 0.9.0
Functions

glm::gtx::perpendicular Namespace Reference

GLM_GTX_perpendicular extension: 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)
 Projects x a perpendicular axis of Normal.
template<typename T >
detail::tvec4< T > perp (detail::tvec4< T > const &x, detail::tvec4< T > const &Normal)
 Projects x a perpendicular axis of Normal.
template<typename T >
detail::tvec3< T > perp (detail::tvec3< T > const &x, detail::tvec3< T > const &Normal)
 Projects x a perpendicular axis of Normal.

Detailed Description

GLM_GTX_perpendicular extension: Perpendicular of a vector from other one.


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.