matrix_query.hpp
Go to the documentation of this file.
1 
39 #pragma once
40 
41 // Dependency:
42 #include "../glm.hpp"
43 #include "../gtx/vector_query.hpp"
44 #include <limits>
45 
46 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
47 # pragma message("GLM: GLM_GTX_matrix_query extension included")
48 #endif
49 
50 namespace glm
51 {
54 
57  template<typename T, precision P>
58  GLM_FUNC_DECL bool isNull(detail::tmat2x2<T, P> const & m, T const & epsilon);
59 
62  template<typename T, precision P>
63  GLM_FUNC_DECL bool isNull(detail::tmat3x3<T, P> const & m, T const & epsilon);
64 
67  template<typename T, precision P>
68  GLM_FUNC_DECL bool isNull(detail::tmat4x4<T, P> const & m, T const & epsilon);
69 
72  template<typename T, precision P, template <typename, precision> class matType>
73  GLM_FUNC_DECL bool isIdentity(matType<T, P> const & m, T const & epsilon);
74 
77  template<typename T, precision P>
78  GLM_FUNC_DECL bool isNormalized(detail::tmat2x2<T, P> const & m, T const & epsilon);
79 
82  template<typename T, precision P>
83  GLM_FUNC_DECL bool isNormalized(detail::tmat3x3<T, P> const & m, T const & epsilon);
84 
87  template<typename T, precision P>
88  GLM_FUNC_DECL bool isNormalized(detail::tmat4x4<T, P> const & m, T const & epsilon);
89 
92  template<typename T, precision P, template <typename, precision> class matType>
93  GLM_FUNC_DECL bool isOrthogonal(matType<T, P> const & m, T const & epsilon);
94 
96 }//namespace glm
97 
98 #include "matrix_query.inl"
GLM_FUNC_DECL bool isNormalized(detail::tmat2x2< T, P > const &m, T const &epsilon)
GLM_FUNC_DECL bool isNull(detail::tmat2x2< T, P > const &m, T const &epsilon)
GLM_FUNC_DECL genType epsilon()
GLM_FUNC_DECL bool isIdentity(matType< T, P > const &m, T const &epsilon)
GLM_FUNC_DECL bool isOrthogonal(matType< T, P > const &m, T const &epsilon)
#define GLM_FUNC_DECL
Definition: setup.hpp:728


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:34:59