Fix another compilation error.

This commit is contained in:
Dave Reid 2013-04-23 14:18:05 +10:00
parent b6d994f638
commit 6a7ccdb530

View File

@ -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);
} }