forked from enlightenment/efl
ephysics: fix z position on geometry set using cm
SVN revision: 77784
This commit is contained in:
parent
f75457d4b9
commit
21e6264deb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue