From 07ec8c95b225b54ddf603c1657a35e455925a66d Mon Sep 17 00:00:00 2001 From: Christophe Riccio Date: Wed, 1 Jun 2011 00:58:31 +0100 Subject: [PATCH] Fixed a bunch of warnings --- glm/core/intrinsic_common.inl | 4 ++++ glm/core/intrinsic_matrix.inl | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/glm/core/intrinsic_common.inl b/glm/core/intrinsic_common.inl index 5905b3b5..47935d29 100644 --- a/glm/core/intrinsic_common.inl +++ b/glm/core/intrinsic_common.inl @@ -205,10 +205,12 @@ GLM_FUNC_QUALIFIER __m128 sse_mod_ps(__m128 x, __m128 y) } /// TODO +/* GLM_FUNC_QUALIFIER __m128 sse_modf_ps(__m128 x, __m128i & i) { return __m128(); } +*/ //GLM_FUNC_QUALIFIER __m128 _mm_min_ps(__m128 x, __m128 y) @@ -252,6 +254,7 @@ GLM_FUNC_QUALIFIER __m128 sse_ssp_ps(__m128 edge0, __m128 edge1, __m128 x) return mul2; } +/* TODO GLM_FUNC_QUALIFIER __m128 sse_nan_ps(__m128 x) { @@ -261,6 +264,7 @@ GLM_FUNC_QUALIFIER __m128 sse_inf_ps(__m128 x) { } +*/ // SSE scalar reciprocal sqrt using rsqrt op, plus one Newton-Rhaphson iteration // By Elan Ruskin, http://assemblyrequired.crashworks.org/ diff --git a/glm/core/intrinsic_matrix.inl b/glm/core/intrinsic_matrix.inl index 1246a744..7350488f 100644 --- a/glm/core/intrinsic_matrix.inl +++ b/glm/core/intrinsic_matrix.inl @@ -10,8 +10,9 @@ namespace glm{ namespace detail{ -static const __m128 _m128_rad_ps = _mm_set_ps1(3.141592653589793238462643383279f / 180.f); -static const __m128 _m128_deg_ps = _mm_set_ps1(180.f / 3.141592653589793238462643383279f); +/// \todo +//static const __m128 _m128_rad_ps = _mm_set_ps1(3.141592653589793238462643383279f / 180.f); +//static const __m128 _m128_deg_ps = _mm_set_ps1(180.f / 3.141592653589793238462643383279f); template GLM_FUNC_QUALIFIER matType sse_comp_mul_ps