00001
00002
00004
00005
00006
00007
00009
00010
00012
00013 #ifndef glm_gtx_matrix_query
00014 #define glm_gtx_matrix_query
00015
00016
00017 #include "../glm.hpp"
00018
00019 namespace glm
00020 {
00021 namespace test{
00022 void main_gtx_matrix_query();
00023 }
00024
00025 namespace gtx{
00027 namespace matrix_query
00028 {
00031 template<typename T>
00032 bool isNull(
00033 const detail::tmat2x2<T>& m,
00034 const T epsilon = std::numeric_limits<T>::epsilon());
00035
00038 template<typename T>
00039 bool isNull(
00040 const detail::tmat3x3<T>& m,
00041 const T epsilon = std::numeric_limits<T>::epsilon());
00042
00045 template<typename T>
00046 bool isNull(
00047 const detail::tmat4x4<T>& m,
00048 const T epsilon = std::numeric_limits<T>::epsilon());
00049
00052 template<typename genType>
00053 bool isIdentity(
00054 const genType& m,
00055 const typename genType::value_type epsilon = std::numeric_limits<typename genType::value_type>::epsilon());
00056
00059 template<typename T>
00060 bool isNormalized(
00061 const detail::tmat2x2<T>& m,
00062 const T epsilon = std::numeric_limits<T>::epsilon());
00063
00066 template<typename T>
00067 bool isNormalized(
00068 const detail::tmat3x3<T>& m,
00069 const T epsilon = std::numeric_limits<T>::epsilon());
00070
00073 template<typename T>
00074 bool isNormalized(
00075 const detail::tmat4x4<T>& m,
00076 const T epsilon = std::numeric_limits<T>::epsilon());
00077
00080 template<typename genType>
00081 bool isOrthogonal(
00082 const genType& m,
00083 const typename genType::value_type epsilon = std::numeric_limits<typename genType::value_type>::epsilon());
00084
00085 }
00086 }
00087 }
00088
00089 #include "matrix_query.inl"
00090
00091 namespace glm{using namespace gtx::matrix_query;}
00092
00093 #endif//glm_gtx_matrix_query