1.0.0 API documentation: scalar_relational.hpp Source File

| 1.0.0 API documentation

ext/scalar_relational.hpp
Go to the documentation of this file.
1
15 #pragma once
16
17 // Dependencies
18 #include "../detail/qualifier.hpp"
19
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_scalar_relational extension included")
22 #endif
23
24 namespace glm
25 {
28
33 template<typename genType>
34 GLM_FUNC_DECL GLM_CONSTEXPR bool equal(genType const& x, genType const& y, genType const& epsilon);
35
40 template<typename genType>
41 GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual(genType const& x, genType const& y, genType const& epsilon);
42
51 template<typename genType>
52 GLM_FUNC_DECL GLM_CONSTEXPR bool equal(genType const& x, genType const& y, int ULPs);
53
62 template<typename genType>
63 GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual(genType const& x, genType const& y, int ULPs);
64
66 }//namespace glm
67
68 #include "scalar_relational.inl"
glm::equal
GLM_FUNC_DECL GLM_CONSTEXPR bool equal(genType const &x, genType const &y, int ULPs)
Returns the component-wise comparison between two scalars in term of ULPs.
glm::notEqual
GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual(genType const &x, genType const &y, int ULPs)
Returns the component-wise comparison between two scalars in term of ULPs.
glm::epsilon
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.