0.9.6
handed_coordinate_space.hpp
Go to the documentation of this file.
1 
38 #pragma once
39 
40 // Dependency:
41 #include "../glm.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
45 #endif
46 
47 namespace glm
48 {
51 
54  template <typename T, precision P>
55  GLM_FUNC_DECL bool rightHanded(
56  tvec3<T, P> const & tangent,
57  tvec3<T, P> const & binormal,
58  tvec3<T, P> const & normal);
59 
62  template <typename T, precision P>
63  GLM_FUNC_DECL bool leftHanded(
64  tvec3<T, P> const & tangent,
65  tvec3<T, P> const & binormal,
66  tvec3<T, P> const & normal);
67 
69 }// namespace glm
70 
71 #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:31
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.