Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #pragma once
00039
00040
00041 #include "../glm.hpp"
00042 #include <cfloat>
00043 #include <limits>
00044
00045 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
00046 # pragma message("GLM: GLM_GTX_vector_query extension included")
00047 #endif
00048
00049 namespace glm
00050 {
00053
00056 template <typename T, precision P, template <typename, precision> class vecType>
00057 GLM_FUNC_DECL bool areCollinear(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
00058
00061 template <typename T, precision P, template <typename, precision> class vecType>
00062 GLM_FUNC_DECL bool areOrthogonal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
00063
00066 template <typename T, precision P, template <typename, precision> class vecType>
00067 GLM_FUNC_DECL bool isNormalized(vecType<T, P> const & v, T const & epsilon);
00068
00071 template <typename T, precision P, template <typename, precision> class vecType>
00072 GLM_FUNC_DECL bool isNull(vecType<T, P> const & v, T const & epsilon);
00073
00076 template <typename T, precision P, template <typename, precision> class vecType>
00077 GLM_FUNC_DECL vecType<bool, P> isCompNull(vecType<T, P> const & v, T const & epsilon);
00078
00081 template <typename T, precision P, template <typename, precision> class vecType>
00082 GLM_FUNC_DECL bool areOrthonormal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsilon);
00083
00085 }
00086
00087 #include "vector_query.inl"