0.9.9 API documenation
handed_coordinate_space.hpp
Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_handed_coordinate_space is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template <typename T, precision P>
34  GLM_FUNC_DECL bool rightHanded(
35  tvec3<T, P> const & tangent,
36  tvec3<T, P> const & binormal,
37  tvec3<T, P> const & normal);
38 
41  template <typename T, precision P>
42  GLM_FUNC_DECL bool leftHanded(
43  tvec3<T, P> const & tangent,
44  tvec3<T, P> const & binormal,
45  tvec3<T, P> const & normal);
46 
48 }// namespace glm
49 
50 #include "handed_coordinate_space.inl"
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.
Definition: _noise.hpp:11
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.