summaryrefslogtreecommitdiff
path: root/legacy/ephysics/src
diff options
context:
space:
mode:
authorLeandro Dorileo <dorileo@profusion.mobi>2012-11-09 18:58:57 +0000
committerBruno Dilly <bdilly@profusion.mobi>2012-11-09 18:58:57 +0000
commit31069a97ce08c29d9ba6e52997571cf341a270fa (patch)
tree38a6705a0e065d7d61d481563f823ac60b5826a7 /legacy/ephysics/src
parentd0f93b0aaaf70cd94a4d83c3b5030cd238f34289 (diff)
EPhysics: sandbox reduce time resolution
Reduce simulation time resolution to avoid soft body penetration. Patch by: Leandro Dorileo <dorileo@profusion.mobi> SVN revision: 79058
Diffstat (limited to 'legacy/ephysics/src')
-rw-r--r--legacy/ephysics/src/bin/ephysics_sandbox.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/legacy/ephysics/src/bin/ephysics_sandbox.c b/legacy/ephysics/src/bin/ephysics_sandbox.c
index e9f13ffbab..4d1a4e64b7 100644
--- a/legacy/ephysics/src/bin/ephysics_sandbox.c
+++ b/legacy/ephysics/src/bin/ephysics_sandbox.c
@@ -967,6 +967,7 @@ elm_main()
967 evas_object_show(win); 967 evas_object_show(win);
968 968
969 world = ephysics_world_new(); 969 world = ephysics_world_new();
970 ephysics_world_simulation_set(world, 1/100.f, 10);
970 ephysics_world_render_geometry_set(world, 80, 80, -50, 971 ephysics_world_render_geometry_set(world, 80, 80, -50,
971 (int) WIDTH * 0.7 - 160, HEIGHT - 160, 972 (int) WIDTH * 0.7 - 160, HEIGHT - 160,
972 DEPTH); 973 DEPTH);