0.9.9 API documenation
Functions
GLM_GTX_handed_coordinate_space

To know if a set of three basis vectors defines a right or left-handed coordinate system. More...

Functions

template<typename T , qualifier P>
GLM_FUNC_DECL bool leftHanded (vec< 3, T, P > const &tangent, vec< 3, T, P > const &binormal, vec< 3, T, P > const &normal)
 Return if a trihedron left handed or not. More...
 
template<typename T , qualifier P>
GLM_FUNC_DECL bool rightHanded (vec< 3, T, P > const &tangent, vec< 3, T, P > const &binormal, vec< 3, T, P > const &normal)
 Return if a trihedron right handed or not. More...
 

Detailed Description

To know if a set of three basis vectors defines a right or left-handed coordinate system.

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

Function Documentation

GLM_FUNC_DECL bool glm::leftHanded ( vec< 3, T, P > const &  tangent,
vec< 3, T, P > const &  binormal,
vec< 3, T, P > const &  normal 
)

Return if a trihedron left handed or not.

From GLM_GTX_handed_coordinate_space extension.

GLM_FUNC_DECL bool glm::rightHanded ( vec< 3, T, P > const &  tangent,
vec< 3, T, P > const &  binormal,
vec< 3, T, P > const &  normal 
)

Return if a trihedron right handed or not.

From GLM_GTX_handed_coordinate_space extension.