ephysics: fix z position on geometry set using cm

SVN revision: 77784
This commit is contained in:
Bruno Dilly 2012-10-10 19:18:02 +00:00
parent f75457d4b9
commit 21e6264deb
1 changed files with 1 additions and 1 deletions

View File

@ -904,7 +904,7 @@ _ephysics_body_geometry_set(EPhysics_Body *body, Evas_Coord x, Evas_Coord y, Eva
mx = (x + w * body->cm.x) / rate;
my = (height - (y + h * body->cm.y)) / rate;
mz = z / rate;
mz = (z + d * body->cm.z) / rate;
sx = w / rate;
sy = h / rate;
sz = d / rate;