diff --git a/glm/common.hpp b/glm/common.hpp index 25e7a376..1f923aac 100644 --- a/glm/common.hpp +++ b/glm/common.hpp @@ -511,6 +511,9 @@ namespace glm /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template GLM_FUNC_DECL genType frexp(genType const& x, genIType& exp); + + template + GLM_FUNC_DECL vec frexp(vec const& v, vec& exp); /// Builds a floating-point number from x and the /// corresponding integral exponent of two in exp, returning: @@ -525,6 +528,9 @@ namespace glm /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template GLM_FUNC_DECL genType ldexp(genType const& x, genIType const& exp); + + template + GLM_FUNC_DECL vec ldexp(vec const& v, vec const& exp); /// @} }//namespace glm