From a30dc0f6f560ea6a5e1c3a0e656b8ad5aacc6bc5 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 26 Sep 2018 22:43:34 +0200 Subject: [PATCH 1/3] Fixed build --- glm/ext/scalar_ulp.inl | 1 + 1 file changed, 1 insertion(+) diff --git a/glm/ext/scalar_ulp.inl b/glm/ext/scalar_ulp.inl index 11c0c017..f70c19ed 100644 --- a/glm/ext/scalar_ulp.inl +++ b/glm/ext/scalar_ulp.inl @@ -7,6 +7,7 @@ #include "../detail/type_float.hpp" #include "../ext/scalar_constants.hpp" +#include #if(GLM_COMPILER & GLM_COMPILER_VC) # pragma warning(push) From d8844107816e286116ef7b3bab6c3e3257ee3858 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 26 Sep 2018 22:50:00 +0200 Subject: [PATCH 2/3] Fixed build --- glm/ext/vector_ulp.hpp | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/glm/ext/vector_ulp.hpp b/glm/ext/vector_ulp.hpp index bc5d6b82..3883758f 100644 --- a/glm/ext/vector_ulp.hpp +++ b/glm/ext/vector_ulp.hpp @@ -27,7 +27,9 @@ namespace glm { /// Return the next ULP value(s) after the input value(s). /// - /// @tparam genType A floating-point scalar type. + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam T Floating-point + /// @tparam Q Value from qualifier enum /// /// @see ext_scalar_ulp template @@ -35,7 +37,9 @@ namespace glm /// Return the value(s) ULP distance after the input value(s). /// - /// @tparam genType A floating-point scalar type. + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam T Floating-point + /// @tparam Q Value from qualifier enum /// /// @see ext_scalar_ulp template @@ -43,7 +47,9 @@ namespace glm /// Return the value(s) ULP distance after the input value(s). /// - /// @tparam genType A floating-point scalar type. + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam T Floating-point + /// @tparam Q Value from qualifier enum /// /// @see ext_scalar_ulp template @@ -51,7 +57,9 @@ namespace glm /// Return the previous ULP value(s) before the input value(s). /// - /// @tparam genType A floating-point scalar type. + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam T Floating-point + /// @tparam Q Value from qualifier enum /// /// @see ext_scalar_ulp template @@ -59,7 +67,9 @@ namespace glm /// Return the value(s) ULP distance before the input value(s). /// - /// @tparam genType A floating-point scalar type. + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam T Floating-point + /// @tparam Q Value from qualifier enum /// /// @see ext_scalar_ulp template @@ -67,7 +77,9 @@ namespace glm /// Return the value(s) ULP distance before the input value(s). /// - /// @tparam genType A floating-point scalar type. + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam T Floating-point + /// @tparam Q Value from qualifier enum /// /// @see ext_scalar_ulp template @@ -75,12 +87,18 @@ namespace glm /// Return the distance in the number of ULP between 2 single-precision floating-point scalars. /// + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam Q Value from qualifier enum + /// /// @see ext_scalar_ulp template GLM_FUNC_DECL vec float_distance(vec const& x, vec const& y); /// Return the distance in the number of ULP between 2 double-precision floating-point scalars. /// + /// @tparam L Integer between 1 and 4 included that qualify the dimension of the vector + /// @tparam Q Value from qualifier enum + /// /// @see ext_scalar_ulp template GLM_FUNC_DECL vec float_distance(vec const& x, vec const& y); From d3282d8177d06547c9146851edced79b779c5428 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 26 Sep 2018 23:31:12 +0200 Subject: [PATCH 3/3] Fixed build --- glm/ext/scalar_ulp.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/glm/ext/scalar_ulp.hpp b/glm/ext/scalar_ulp.hpp index f0db0d0a..90e177da 100644 --- a/glm/ext/scalar_ulp.hpp +++ b/glm/ext/scalar_ulp.hpp @@ -17,6 +17,7 @@ // Dependencies #include "../ext/scalar_int_sized.hpp" +#include "../common.hpp" #include "../detail/qualifier.hpp" #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)