From 6a7ccdb5301e27a8f35da07ec7ae4cfc94f75d1a Mon Sep 17 00:00:00 2001 From: Dave Reid Date: Tue, 23 Apr 2013 14:18:05 +1000 Subject: [PATCH] Fix another compilation error. --- glm/gtx/fast_square_root.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glm/gtx/fast_square_root.inl b/glm/gtx/fast_square_root.inl index 12838e66..aef9ad0d 100644 --- a/glm/gtx/fast_square_root.inl +++ b/glm/gtx/fast_square_root.inl @@ -36,7 +36,7 @@ namespace glm i = 0x5f375a86 - (i >> 1); //x = *(float*)&i; //x = *((float*)(char*)&i); - tmp = detail::uif(i).f; + tmp = detail::uif32(i).f; tmp = tmp * (1.5f - xhalf * tmp * tmp); return genType(tmp); }