| 0.9.6

- Main Page
- Modules
- Files

- File List

handed_coordinate_space.hpp
Go to the documentation of this file.
1
42 #pragma once
43
44 // Dependency:
45 #include "../glm.hpp"
46
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
49 #endif
50
51 namespace glm
52 {
55
58 template <typename T, precision P>
59 GLM_FUNC_DECL bool rightHanded(
60 tvec3<T, P> const & tangent,
61 tvec3<T, P> const & binormal,
62 tvec3<T, P> const & normal);
63
66 template <typename T, precision P>
67 GLM_FUNC_DECL bool leftHanded(
68 tvec3<T, P> const & tangent,
69 tvec3<T, P> const & binormal,
70 tvec3<T, P> const & normal);
71
73 }// namespace glm
74
75 #include "handed_coordinate_space.inl"
glm::rightHanded
GLM_FUNC_DECL bool rightHanded(tvec3< T, P > const &tangent, tvec3< T, P > const &binormal, tvec3< T, P > const &normal)
Return if a trihedron right handed or not.
glm
Definition: _noise.hpp:39
glm::leftHanded
GLM_FUNC_DECL bool leftHanded(tvec3< T, P > const &tangent, tvec3< T, P > const &binormal, tvec3< T, P > const &normal)
Return if a trihedron left handed or not.