diff options
author | David Walter Seikel | 2015-03-22 18:37:52 +1000 |
---|---|---|
committer | David Walter Seikel | 2015-03-22 18:37:52 +1000 |
commit | 637c3429abb382adb724134e06ff97d54551582f (patch) | |
tree | 00736d7b65e35892d871e0698be71a56dae797e9 /src/extantz/ephysics_demo.c | |
parent | Comment out markers around commented out code. (diff) | |
download | SledjHamr-637c3429abb382adb724134e06ff97d54551582f.zip SledjHamr-637c3429abb382adb724134e06ff97d54551582f.tar.gz SledjHamr-637c3429abb382adb724134e06ff97d54551582f.tar.bz2 SledjHamr-637c3429abb382adb724134e06ff97d54551582f.tar.xz |
We don't need no stinkin' eo_unrefs. Anymore. Though leave them there, in case they change their mind again.
Diffstat (limited to '')
-rw-r--r-- | src/extantz/ephysics_demo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extantz/ephysics_demo.c b/src/extantz/ephysics_demo.c index 7ba1fc8..a7d7c7b 100644 --- a/src/extantz/ephysics_demo.c +++ b/src/extantz/ephysics_demo.c | |||
@@ -46,7 +46,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) | |||
46 | ephysics_body_linear_velocity_set(box_body1, -150, 20, 0); | 46 | ephysics_body_linear_velocity_set(box_body1, -150, 20, 0); |
47 | ephysics_body_angular_velocity_set(box_body1, 0, 0, 36); | 47 | ephysics_body_angular_velocity_set(box_body1, 0, 0, 36); |
48 | ephysics_body_sleeping_threshold_set(box_body1, 0.1, 0.1); | 48 | ephysics_body_sleeping_threshold_set(box_body1, 0.1, 0.1); |
49 | eo_unref(box1); | 49 | // eo_unref(box1); |
50 | 50 | ||
51 | sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); | 51 | sprintf(buf, "%s/%s.edj", prefix_data_get(), EPHYSICS_TEST_THEME); |
52 | box2 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, | 52 | box2 = eo_add(ELM_IMAGE_CLASS, ourGlobals->win, |
@@ -63,7 +63,7 @@ EPhysics_World *ephysicsAdd(globals *ourGlobals) | |||
63 | ephysics_body_linear_velocity_set(box_body2, 800, -600, 0); | 63 | ephysics_body_linear_velocity_set(box_body2, 800, -600, 0); |
64 | ephysics_body_angular_velocity_set(box_body2, 0, 0, 360); | 64 | ephysics_body_angular_velocity_set(box_body2, 0, 0, 360); |
65 | ephysics_body_sleeping_threshold_set(box_body2, 0.1, 0.1); | 65 | ephysics_body_sleeping_threshold_set(box_body2, 0.1, 0.1); |
66 | eo_unref(box2); | 66 | // eo_unref(box2); |
67 | 67 | ||
68 | ephysics_world_gravity_set(world, 0, 0, 0); | 68 | ephysics_world_gravity_set(world, 0, 0, 0); |
69 | 69 | ||