Skip to content

Commit

Permalink
Merge pull request #895 from Zuzu-Typ/master
Browse files Browse the repository at this point in the history
Fixed ldexp and frexp declaration #895
  • Loading branch information
Groovounet authored Apr 22, 2019
2 parents d5760d9 + a66068f commit f420e48
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions glm/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,8 @@ namespace glm
///
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/frexp.xml">GLSL frexp man page</a>
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.3 Common Functions</a>
template<typename genType, typename genIType>
GLM_FUNC_DECL genType frexp(genType const& x, genIType& exp);
template<typename genType>
GLM_FUNC_DECL genType frexp(genType x, int& exp);

template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> frexp(vec<L, T, Q> const& v, vec<L, int, Q>& exp);
Expand All @@ -526,8 +526,8 @@ namespace glm
///
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/ldexp.xml">GLSL ldexp man page</a>;
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.3 Common Functions</a>
template<typename genType, typename genIType>
GLM_FUNC_DECL genType ldexp(genType const& x, genIType const& exp);
template<typename genType>
GLM_FUNC_DECL genType ldexp(genType const& x, int const& exp);

template<length_t L, typename T, qualifier Q>
GLM_FUNC_DECL vec<L, T, Q> ldexp(vec<L, T, Q> const& v, vec<L, int, Q> const& exp);
Expand Down

0 comments on commit f420e48

Please sign in to comment.