From b76297c8ffe3a105c25fbee69f113a05ae278bab Mon Sep 17 00:00:00 2001 From: Zuzu-Typ Date: Sun, 31 Mar 2019 18:29:56 +0200 Subject: [PATCH] Forward declaration of frexp and ldexp --- glm/common.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/glm/common.hpp b/glm/common.hpp index 25e7a3764..1f923aac2 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