mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
Fix GCC warnings.
This commit is contained in:
parent
f206f39c3a
commit
7b6fb9f635
@ -62,7 +62,7 @@ namespace detail{
|
|||||||
static const ieee754_QNAN absMask;
|
static const ieee754_QNAN absMask;
|
||||||
static const __m128 GLM_VAR_USED abs4Mask = _mm_set_ps1(absMask.f);
|
static const __m128 GLM_VAR_USED abs4Mask = _mm_set_ps1(absMask.f);
|
||||||
|
|
||||||
static const __m128 GLM_VAR_USED _epi32_sign_mask = _mm_castsi128_ps(_mm_set1_epi32(0x80000000));
|
static const __m128 GLM_VAR_USED _epi32_sign_mask = _mm_castsi128_ps(_mm_set1_epi32(static_cast<int>(0x80000000)));
|
||||||
//static const __m128 GLM_VAR_USED _epi32_inv_sign_mask = _mm_castsi128_ps(_mm_set1_epi32(0x7FFFFFFF));
|
//static const __m128 GLM_VAR_USED _epi32_inv_sign_mask = _mm_castsi128_ps(_mm_set1_epi32(0x7FFFFFFF));
|
||||||
//static const __m128 GLM_VAR_USED _epi32_mant_mask = _mm_castsi128_ps(_mm_set1_epi32(0x7F800000));
|
//static const __m128 GLM_VAR_USED _epi32_mant_mask = _mm_castsi128_ps(_mm_set1_epi32(0x7F800000));
|
||||||
//static const __m128 GLM_VAR_USED _epi32_inv_mant_mask = _mm_castsi128_ps(_mm_set1_epi32(0x807FFFFF));
|
//static const __m128 GLM_VAR_USED _epi32_inv_mant_mask = _mm_castsi128_ps(_mm_set1_epi32(0x807FFFFF));
|
||||||
|
@ -102,7 +102,7 @@ GLM_FUNC_QUALIFIER fvec4SIMD & fmat4x4SIMD::operator[]
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
assert(
|
assert(
|
||||||
i >= fmat4x4SIMD::size_type(0) &&
|
//i >= fmat4x4SIMD::size_type(0) &&
|
||||||
i < fmat4x4SIMD::col_size());
|
i < fmat4x4SIMD::col_size());
|
||||||
|
|
||||||
return this->Data[i];
|
return this->Data[i];
|
||||||
@ -114,7 +114,7 @@ GLM_FUNC_QUALIFIER fvec4SIMD const & fmat4x4SIMD::operator[]
|
|||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
assert(
|
assert(
|
||||||
i >= fmat4x4SIMD::size_type(0) &&
|
//i >= fmat4x4SIMD::size_type(0) &&
|
||||||
i < fmat4x4SIMD::col_size());
|
i < fmat4x4SIMD::col_size());
|
||||||
|
|
||||||
return this->Data[i];
|
return this->Data[i];
|
||||||
|
Loading…
Reference in New Issue
Block a user