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) 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) 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);