summaryrefslogtreecommitdiff
path: root/legacy/ephysics
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-10-10 19:18:02 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-10-10 19:18:02 +0000
commit21e6264deb1a9898b6d98e20bcf6c15a9aeca271 (patch)
tree1240d9e0165b4de8f31e81e6c17f6113e368d510 /legacy/ephysics
parentf75457d4b95e26fa485193535ffac43f3fb59a21 (diff)
ephysics: fix z position on geometry set using cm
SVN revision: 77784
Diffstat (limited to 'legacy/ephysics')
-rw-r--r--legacy/ephysics/src/lib/ephysics_body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ephysics/src/lib/ephysics_body.cpp b/legacy/ephysics/src/lib/ephysics_body.cpp
index 319bacbc97..aa66cbc916 100644
--- a/legacy/ephysics/src/lib/ephysics_body.cpp
+++ b/legacy/ephysics/src/lib/ephysics_body.cpp
@@ -904,7 +904,7 @@ _ephysics_body_geometry_set(EPhysics_Body *body, Evas_Coord x, Evas_Coord y, Eva
904 904
905 mx = (x + w * body->cm.x) / rate; 905 mx = (x + w * body->cm.x) / rate;
906 my = (height - (y + h * body->cm.y)) / rate; 906 my = (height - (y + h * body->cm.y)) / rate;
907 mz = z / rate; 907 mz = (z + d * body->cm.z) / rate;
908 sx = w / rate; 908 sx = w / rate;
909 sy = h / rate; 909 sy = h / rate;
910 sz = d / rate; 910 sz = d / rate;