mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 10:14:35 +00:00
Fixed ticket #33
This commit is contained in:
parent
2e6cb304c3
commit
7a3aa677be
@ -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…
Reference in New Issue
Block a user