Pārlūkot izejas kodu

Fix another compilation error.

Dave Reid 12 gadi atpakaļ
vecāks
revīzija
6a7ccdb530
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      glm/gtx/fast_square_root.inl

+ 1 - 1
glm/gtx/fast_square_root.inl

@@ -36,7 +36,7 @@ namespace glm
 		i = 0x5f375a86 - (i >> 1);
 		i = 0x5f375a86 - (i >> 1);
 		//x = *(float*)&i;
 		//x = *(float*)&i;
 		//x = *((float*)(char*)&i);
 		//x = *((float*)(char*)&i);
-		tmp = detail::uif(i).f;
+		tmp = detail::uif32(i).f;
 		tmp = tmp * (1.5f - xhalf * tmp * tmp);
 		tmp = tmp * (1.5f - xhalf * tmp * tmp);
 		return genType(tmp);
 		return genType(tmp);
 	}
 	}