forked from enlightenment/efl
eina_quaternion: fix ein matrix type comparison
Fixing a bug that I fixed before. Sadly got introduced again. See
a486671bce
for the details.
CID: 1341769
This commit is contained in:
parent
96a9d75e0c
commit
94978a3567
|
@ -1084,7 +1084,7 @@ eina_quaternion_transform(Eina_Quaternion *out, const Eina_Quaternion *v, const
|
|||
{
|
||||
Eina_Quaternion tmp;
|
||||
|
||||
if (eina_matrix4_type_get(m) & EINA_MATRIX_TYPE_IDENTITY)
|
||||
if (eina_matrix4_type_get(m) == EINA_MATRIX_TYPE_IDENTITY)
|
||||
{
|
||||
eina_quaternion_copy(out, v);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue