master
christophe ago%!(EXTRA string=1 year) committed by Christophe
parent f9a5a404dd
commit edc5e624df
  1. 2
      glm/common.hpp
  2. 2
      glm/detail/func_common.inl

@ -404,7 +404,7 @@ namespace glm
/// ///
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/floatBitsToInt.xml">GLSL floatBitsToInt man page</a> /// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/floatBitsToInt.xml">GLSL floatBitsToInt 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> /// @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>
GLM_FUNC_DECL int floatBitsToInt(float const& v); GLM_FUNC_DECL int floatBitsToInt(float v);
/// Returns a signed integer value representing /// Returns a signed integer value representing
/// the encoding of a floating-point value. The floatingpoint /// the encoding of a floating-point value. The floatingpoint

@ -700,7 +700,7 @@ namespace detail
return detail::functor1<vec, L, uint, float, Q>::call(floatBitsToUint, v); return detail::functor1<vec, L, uint, float, Q>::call(floatBitsToUint, v);
} }
GLM_FUNC_QUALIFIER float intBitsToFloat(int const& v) GLM_FUNC_QUALIFIER float intBitsToFloat(int v)
{ {
union union
{ {

Loading…
Cancel
Save