Fixed ticket #33

master
Christophe Riccio ago%!(EXTRA string=14 years)
parent 2e6cb304c3
commit 7a3aa677be
  1. 2
      glm/gtx/simd_mat4.inl
  2. 2
      glm/gtx/simd_vec4.inl

@ -242,7 +242,7 @@ namespace simd_mat4
detail::fmat4x4SIMD const & x
)
{
detail::tmat4x4<float> Result;
GLM_ALIGN(16) detail::tmat4x4<float> Result;
_mm_store_ps(&Result[0][0], x.Data[0].Data);
_mm_store_ps(&Result[1][0], x.Data[1].Data);
_mm_store_ps(&Result[2][0], x.Data[2].Data);

@ -275,7 +275,7 @@ namespace glm
detail::fvec4SIMD const & x
)
{
GLM_ALIGN(16) detail::tvec4<float> Result;
GLM_ALIGN(4) detail::tvec4<float> Result;
_mm_store_ps(&Result[0], x.Data);
return Result;
}

Loading…
Cancel
Save