EPhysics: the z axis is inverted

The z axis is inverted so the greater the lower it is, the smaller
the above it is.


Patch by: Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 78682
This commit is contained in:
Leandro Dorileo 2012-10-30 18:31:58 +00:00 committed by Bruno Dilly
parent c6f4ab7643
commit d0126e755b
1 changed files with 4 additions and 4 deletions

View File

@ -362,11 +362,11 @@ _ephysics_body_evas_stacking_sort_cb(const void *d1, const void *d2)
stacking1 = (const EPhysics_Body_Evas_Stacking *)d1;
stacking2 = (const EPhysics_Body_Evas_Stacking *)d2;
if (!stacking1) return -1;
if (!stacking2) return 1;
if (!stacking1) return 1;
if (!stacking2) return -1;
if (stacking1->stacking < stacking2->stacking) return 1;
if (stacking2->stacking > stacking2->stacking) return -1;
if (stacking1->stacking < stacking2->stacking) return -1;
if (stacking2->stacking > stacking2->stacking) return 1;
return 0;
}