summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src/bin/ephysics_sandbox.c
diff options
context:
space:
mode:
authorBruno Dilly <bdilly@profusion.mobi>2012-10-15 21:54:14 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-10-15 21:54:14 +0000
commitf6e0e9a3f5a33f40731ffe3ff339d2931ace4825 (patch)
tree983ff70cd7bd9606d1e07656dbf07d533c813898 /legacy/ephysics/src/bin/ephysics_sandbox.c
parent25e3dd2a448e225585384b971c6927e500323f8e (diff)
ephysics: revert add depth parameter to boundary api
reverts r77785, since it will be properly handled before adding front and back boundaries SVN revision: 78013
Diffstat (limited to '')
-rw-r--r--legacy/ephysics/src/bin/ephysics_sandbox.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/legacy/ephysics/src/bin/ephysics_sandbox.c b/legacy/ephysics/src/bin/ephysics_sandbox.c
index 935af2e586..edea23d1a1 100644
--- a/legacy/ephysics/src/bin/ephysics_sandbox.c
+++ b/legacy/ephysics/src/bin/ephysics_sandbox.c
@@ -846,12 +846,11 @@ _sandie_world_add(Evas_Object *win)
846 world = ephysics_world_new(); 846 world = ephysics_world_new();
847 ephysics_world_render_geometry_set(world, 80, 80, (int) WIDTH * 0.7 - 160, 847 ephysics_world_render_geometry_set(world, 80, 80, (int) WIDTH * 0.7 - 160,
848 HEIGHT - 160); 848 HEIGHT - 160);
849 evas_object_data_set(win, "top", ephysics_body_top_boundary_add(world, 10)); 849 evas_object_data_set(win, "top", ephysics_body_top_boundary_add(world));
850 evas_object_data_set(win, "bottom", 850 evas_object_data_set(win, "bottom",
851 ephysics_body_bottom_boundary_add(world, 10)); 851 ephysics_body_bottom_boundary_add(world));
852 evas_object_data_set(win, "left", ephysics_body_left_boundary_add(world, 10)); 852 evas_object_data_set(win, "left", ephysics_body_left_boundary_add(world));
853 evas_object_data_set(win, "right", ephysics_body_right_boundary_add(world, 853 evas_object_data_set(win, "right", ephysics_body_right_boundary_add(world));
854 10));
855 854
856 return world; 855 return world;
857} 856}