Back to Mame

0.9.8: GLM_GTX_handed_coordinate_space

3rdparty/glm/doc/api/a00197.html

latest1.5 KB
Original Source

| | 0.9.8 |

Functions

GLM_GTX_handed_coordinate_space GTX Extensions (Experimental)

|

Functions

| | template<typename T , precision P> | | GLM_FUNC_DECL bool | leftHanded (tvec3< T, P > const &tangent, tvec3< T, P > const &binormal, tvec3< T, P > const &normal) | | | | template<typename T , precision P> | | GLM_FUNC_DECL bool | rightHanded (tvec3< T, P > const &tangent, tvec3< T, P > const &binormal, tvec3< T, P > const &normal) | | |

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 | ( | tvec3< T, P > const & | tangent, | | | | tvec3< T, P > const & | binormal, | | | | tvec3< 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 | ( | tvec3< T, P > const & | tangent, | | | | tvec3< T, P > const & | binormal, | | | | tvec3< T, P > const & | normal | | | ) | | |

Return if a trihedron right handed or not.

From GLM_GTX_handed_coordinate_space extension.


Generated by 1.8.10