diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-21 17:40:38 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-21 17:40:38 +0200 |
commit | 2877f4eda3d1b0c7431039e3142ecf1a282a34b1 (patch) | |
tree | 58ad35e27ab2a3b8955f5adbf28f296670681ffc /external/include/glm/gtx/scalar_relational.inl | |
parent | Smooth sun movement (diff) | |
download | AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.gz AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.bz2 AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.lz AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.xz AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.tar.zst AltCraft-2877f4eda3d1b0c7431039e3142ecf1a282a34b1.zip |
Diffstat (limited to 'external/include/glm/gtx/scalar_relational.inl')
-rw-r--r-- | external/include/glm/gtx/scalar_relational.inl | 46 |
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; |