FlukyEngine
Functions
GLM_GTX_handed_coordinate_space

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

Collaboration diagram for GLM_GTX_handed_coordinate_space:

Functions

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

Detailed Description

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

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

Function Documentation

◆ leftHanded()

template<typename T , qualifier Q>
GLM_FUNC_DECL bool glm::leftHanded ( vec< 3, T, Q > const &  tangent,
vec< 3, T, Q > const &  binormal,
vec< 3, T, Q > const &  normal 
)

Return if a trihedron left handed or not.

From GLM_GTX_handed_coordinate_space extension.

◆ rightHanded()

template<typename T , qualifier Q>
GLM_FUNC_DECL bool glm::rightHanded ( vec< 3, T, Q > const &  tangent,
vec< 3, T, Q > const &  binormal,
vec< 3, T, Q > const &  normal 
)

Return if a trihedron right handed or not.

From GLM_GTX_handed_coordinate_space extension.