diff --git a/glm/core/dummy.cpp b/glm/core/dummy.cpp index 7a32239b..989adf10 100644 --- a/glm/core/dummy.cpp +++ b/glm/core/dummy.cpp @@ -73,7 +73,7 @@ int main() # if(GLM_ARCH & GLM_ARCH_SSE2) test_simd(); # endif -*/ +*/ C<> c; diff --git a/glm/gtc/packing.inl b/glm/gtc/packing.inl index 3056c8a8..0aaac0f6 100644 --- a/glm/gtc/packing.inl +++ b/glm/gtc/packing.inl @@ -167,7 +167,7 @@ namespace detail return float2packed10(reinterpret_cast(x)); } - float packed10bitToFloat(glm::uint x) + GLM_FUNC_QUALIFIER float packed10bitToFloat(glm::uint x) { if(x == 0) return 0.0f; @@ -180,10 +180,10 @@ namespace detail return reinterpret_cast(result); } - glm::uint f11_f11_f10(float x, float y, float z) - { - return ((floatTo11bit(x) & ((1 << 11) - 1)) << 0) | ((floatTo11bit(y) & ((1 << 11) - 1)) << 11) | ((floatTo10bit(z) & ((1 << 10) - 1)) << 22); - } +// GLM_FUNC_QUALIFIER glm::uint f11_f11_f10(float x, float y, float z) +// { +// return ((floatTo11bit(x) & ((1 << 11) - 1)) << 0) | ((floatTo11bit(y) & ((1 << 11) - 1)) << 11) | ((floatTo10bit(z) & ((1 << 10) - 1)) << 22); +// } union u10u10u10u2 {