From edc5e624df62892a8361f5049764080498e1b129 Mon Sep 17 00:00:00 2001 From: christophe Date: Thu, 21 Dec 2023 11:44:34 +0100 Subject: [PATCH] Fix build --- glm/common.hpp | 2 +- glm/detail/func_common.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/common.hpp b/glm/common.hpp index 0a114eb9..32d71a2e 100644 --- a/glm/common.hpp +++ b/glm/common.hpp @@ -404,7 +404,7 @@ namespace glm /// /// @see GLSL floatBitsToInt man page /// @see GLSL 4.20.8 specification, section 8.3 Common Functions - 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 diff --git a/glm/detail/func_common.inl b/glm/detail/func_common.inl index f7a10168..3a8551c9 100644 --- a/glm/detail/func_common.inl +++ b/glm/detail/func_common.inl @@ -700,7 +700,7 @@ namespace detail return detail::functor1::call(floatBitsToUint, v); } - GLM_FUNC_QUALIFIER float intBitsToFloat(int const& v) + GLM_FUNC_QUALIFIER float intBitsToFloat(int v) { union {