summaryrefslogtreecommitdiffstats
path: root/external/include/glm/gtx/scalar_relational.inl
diff options
context:
space:
mode:
Diffstat (limited to 'external/include/glm/gtx/scalar_relational.inl')
-rw-r--r--external/include/glm/gtx/scalar_relational.inl46
1 files changed, 23 insertions, 23 deletions
diff --git a/external/include/glm/gtx/scalar_relational.inl b/external/include/glm/gtx/scalar_relational.inl
index 709da04..8da7236 100644
--- a/external/include/glm/gtx/scalar_relational.inl
+++ b/external/include/glm/gtx/scalar_relational.inl
@@ -3,69 +3,69 @@
namespace glm
{
- template <typename T>
+ template<typename T>
GLM_FUNC_QUALIFIER bool lessThan
(
- T const & x,
- T const & y
+ T const& x,
+ T const& y
)
{
return x < y;
}
- template <typename T>
+ template<typename T>
GLM_FUNC_QUALIFIER bool lessThanEqual
(
- T const & x,
- T const & y
+ T const& x,
+ T const& y
)
{
return x <= y;
}
- template <typename T>
+ template<typename T>
GLM_FUNC_QUALIFIER bool greaterThan
(
- T const & x,
- T const & y
+ T const& x,
+ T const& y
)
{
return x > y;
}
- template <typename T>
+ template<typename T>
GLM_FUNC_QUALIFIER bool greaterThanEqual
(
- T const & x,
- T const & y
+ T const& x,
+ T const& y
)
{
return x >= y;
}
- template <typename T>
+ template<typename T>
GLM_FUNC_QUALIFIER bool equal
(
- T const & x,
- T const & y
+ T const& x,
+ T const& y
)
{
- return x == y;
+ return detail::compute_equal<T>::call(x, y);
}
- template <typename T>
+ template<typename T>
GLM_FUNC_QUALIFIER bool notEqual
(
- T const & x,
- T const & y
+ T const& x,
+ T const& y
)
{
- return x != y;
+ return !detail::compute_equal<T>::call(x, y);
}
GLM_FUNC_QUALIFIER bool any
(
- bool const & x
+ bool const& x
)
{
return x;
@@ -73,7 +73,7 @@ namespace glm
GLM_FUNC_QUALIFIER bool all
(
- bool const & x
+ bool const& x
)
{
return x;
@@ -81,7 +81,7 @@ namespace glm
GLM_FUNC_QUALIFIER bool not_
(
- bool const & x
+ bool const& x
)
{
return !x;