Fixed a bunch of warnings

This commit is contained in:
Christophe Riccio 2011-06-01 00:58:31 +01:00
parent 74e22c481e
commit 07ec8c95b2
2 changed files with 7 additions and 2 deletions

View File

@ -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/

View File

@ -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 <typename matType>
GLM_FUNC_QUALIFIER matType sse_comp_mul_ps