Fix build

This commit is contained in:
christophe 2023-12-21 11:44:34 +01:00 committed by Christophe
parent f9a5a404dd
commit edc5e624df
2 changed files with 2 additions and 2 deletions

View File

@ -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/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
/// the encoding of a floating-point value. The floatingpoint

View File

@ -700,7 +700,7 @@ namespace detail
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
{