From e93ca2c762b8a4d582dde576f10fe1412317ebc3 Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 27 Oct 2010 21:15:19 +0100 Subject: [PATCH] Fixed ticket #27, missing inline --- glm/gtx/int_10_10_10_2.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/int_10_10_10_2.inl b/glm/gtx/int_10_10_10_2.inl index 8ab6a1d2..446f5354 100644 --- a/glm/gtx/int_10_10_10_2.inl +++ b/glm/gtx/int_10_10_10_2.inl @@ -11,7 +11,7 @@ namespace glm{ namespace gtx{ namespace int_10_10_10_2 { - dword uint10_10_10_2_cast(glm::vec4 const & v) + inline dword uint10_10_10_2_cast(glm::vec4 const & v) { return dword(uint(v.x * 2047.f) << 0 | uint(v.y * 2047.f) << 10 | uint(v.z * 2047.f) << 20 | uint(v.w * 3.f) << 30); }