Преглед изворни кода

Fixed ticket #27, missing inline

Christophe Riccio пре 15 година
родитељ
комит
e93ca2c762
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      glm/gtx/int_10_10_10_2.inl

+ 1 - 1
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);
 	}