diff --git a/deps/glm/detail/func_common.hpp b/deps/glm/detail/func_common.hpp index 41fe639d43..40674d9c74 100644 --- a/deps/glm/detail/func_common.hpp +++ b/deps/glm/detail/func_common.hpp @@ -53,7 +53,7 @@ namespace glm /// @see GLSL abs man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType abs(genType const & x); + genType abs(genType const & x); /// Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0. /// @@ -62,7 +62,7 @@ namespace glm /// @see GLSL sign man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType sign(genType const & x); + genType sign(genType const & x); /// Returns a value equal to the nearest integer that is less then or equal to x. /// @@ -71,7 +71,7 @@ namespace glm /// @see GLSL floor man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType floor(genType const & x); + genType floor(genType const & x); /// Returns a value equal to the nearest integer to x /// whose absolute value is not larger than the absolute value of x. @@ -81,7 +81,7 @@ namespace glm /// @see GLSL trunc man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType trunc(genType const & x); + genType trunc(genType const & x); /// Returns a value equal to the nearest integer to x. /// The fraction 0.5 will round in a direction chosen by the @@ -94,7 +94,7 @@ namespace glm /// @see GLSL round man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType round(genType const & x); + genType round(genType const & x); /// Returns a value equal to the nearest integer to x. /// A fractional part of 0.5 will round toward the nearest even @@ -106,7 +106,7 @@ namespace glm /// @see GLSL 4.20.8 specification, section 8.3 Common Functions /// @see New round to even technique template - GLM_FUNC_DECL genType roundEven(genType const & x); + genType roundEven(genType const & x); /// Returns a value equal to the nearest integer /// that is greater than or equal to x. @@ -116,7 +116,7 @@ namespace glm /// @see GLSL ceil man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType ceil(genType const & x); + genType ceil(genType const & x); /// Return x - floor(x). /// @@ -125,7 +125,7 @@ namespace glm /// @see GLSL fract man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType fract(genType const & x); + genType fract(genType const & x); /// Modulus. Returns x - y * floor(x / y) /// for each component in x using the floating point value y. @@ -135,7 +135,7 @@ namespace glm /// @see GLSL mod man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType mod( + genType mod( genType const & x, genType const & y); @@ -147,7 +147,7 @@ namespace glm /// @see GLSL mod man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType mod( + genType mod( genType const & x, typename genType::value_type const & y); @@ -161,7 +161,7 @@ namespace glm /// @see GLSL modf man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType modf( + genType modf( genType const & x, genType & i); @@ -172,12 +172,12 @@ namespace glm /// @see GLSL min man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions<<<<<<< HEAD template - GLM_FUNC_DECL genType min( + genType min( genType const & x, genType const & y); template - GLM_FUNC_DECL genType min( + genType min( genType const & x, typename genType::value_type const & y); @@ -188,12 +188,12 @@ namespace glm /// @see GLSL max man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType max( + genType max( genType const & x, genType const & y); template - GLM_FUNC_DECL genType max( + genType max( genType const & x, typename genType::value_type const & y); @@ -205,13 +205,13 @@ namespace glm /// @see GLSL clamp man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType clamp( + genType clamp( genType const & x, genType const & minVal, genType const & maxVal); template - GLM_FUNC_DECL genType clamp( + genType clamp( genType const & x, typename genType::value_type const & minVal, typename genType::value_type const & maxVal); @@ -259,19 +259,19 @@ namespace glm /// glm::vec4 u = glm::mix(g, h, r); // Interpolations can be perform per component with a vector for the last parameter. /// @endcode template class vecType> - GLM_FUNC_DECL vecType mix( + vecType mix( vecType const & x, vecType const & y, vecType const & a); template class vecType> - GLM_FUNC_DECL vecType mix( + vecType mix( vecType const & x, vecType const & y, U const & a); template - GLM_FUNC_DECL genTypeT mix( + genTypeT mix( genTypeT const & x, genTypeT const & y, genTypeU const & a); @@ -281,7 +281,7 @@ namespace glm /// @see GLSL step man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template - GLM_FUNC_DECL genType step( + genType step( genType const & edge, genType const & x); @@ -290,7 +290,7 @@ namespace glm /// @see GLSL step man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions template