| 0.9.8

- Main Page
- Modules
- Files

- File List

handed_coordinate_space.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependency:
16 #include "../glm.hpp"
17
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
20 #endif
21
22 namespace glm
23 {
26
29 template <typename T, precision P>
30 GLM_FUNC_DECL bool rightHanded(
31 tvec3<T, P> const & tangent,
32 tvec3<T, P> const & binormal,
33 tvec3<T, P> const & normal);
34
37 template <typename T, precision P>
38 GLM_FUNC_DECL bool leftHanded(
39 tvec3<T, P> const & tangent,
40 tvec3<T, P> const & binormal,
41 tvec3<T, P> const & normal);
42
44 }// namespace glm
45
46 #include "handed_coordinate_space.inl"
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.
glm
Definition: _noise.hpp:11
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.