mirror of https://github.com/axmolengine/axmol.git
compiles on ARM
This commit is contained in:
parent
09c0234821
commit
9ad1ab50fd
|
@ -218,8 +218,9 @@ kmMat4* const kmMat4Multiply(kmMat4* pOut, const kmMat4* pM1, const kmMat4* pM2)
|
||||||
{
|
{
|
||||||
#if defined(__ARM_NEON__)
|
#if defined(__ARM_NEON__)
|
||||||
|
|
||||||
float mat[16];
|
// It is possible to skip the memcpy() since "out" does not overwrite p1 or p2.
|
||||||
// float *mat = pOut->mat;
|
// otherwise a temp must be needed.
|
||||||
|
float *mat = pOut->mat;
|
||||||
|
|
||||||
// Invert column-order with row-order
|
// Invert column-order with row-order
|
||||||
NEON_Matrix4Mul( &pM2->mat[0], &pM1->mat[0], &mat[0] );
|
NEON_Matrix4Mul( &pM2->mat[0], &pM1->mat[0], &mat[0] );
|
||||||
|
|
Loading…
Reference in New Issue