GLM
0.9.5
|
Functions | |
template<typename T , precision P> | |
bool | leftHanded (detail::tvec3< T, P > const &tangent, detail::tvec3< T, P > const &binormal, detail::tvec3< T, P > const &normal) |
template<typename T , precision P> | |
bool | rightHanded (detail::tvec3< T, P > const &tangent, detail::tvec3< T, P > const &binormal, detail::tvec3< T, P > const &normal) |
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.
bool glm::leftHanded | ( | detail::tvec3< T, P > const & | tangent, |
detail::tvec3< T, P > const & | binormal, | ||
detail::tvec3< T, P > const & | normal | ||
) |
Return if a trihedron left handed or not.
From GLM_GTX_handed_coordinate_space extension.
bool glm::rightHanded | ( | detail::tvec3< T, P > const & | tangent, |
detail::tvec3< T, P > const & | binormal, | ||
detail::tvec3< T, P > const & | normal | ||
) |
Return if a trihedron right handed or not.
From GLM_GTX_handed_coordinate_space extension.