forked from enlightenment/efl
EPhysics: fix indenting and remove useless lines
No need to set to 0 zeroed memory. SVN revision: 75569
This commit is contained in:
parent
5044cf3501
commit
f5891500b0
|
@ -239,8 +239,6 @@ _ephysics_body_add(EPhysics_World *world, btCollisionShape *collision_shape, con
|
|||
goto err_rigid_body;
|
||||
}
|
||||
|
||||
body->soft_body = NULL;
|
||||
body->collision_groups = NULL;
|
||||
body->collision_shape = collision_shape;
|
||||
body->rigid_body = rigid_body;
|
||||
body->mass = mass;
|
||||
|
|
|
@ -282,8 +282,7 @@ _simulate_worlds(void *data __UNUSED__)
|
|||
world->fixed_time_step);
|
||||
else
|
||||
((btDiscreteDynamicsWorld *)world->dynamics_world)->stepSimulation(
|
||||
delta, world->max_sub_steps,
|
||||
world->fixed_time_step);
|
||||
delta, world->max_sub_steps, world->fixed_time_step);
|
||||
|
||||
world->walking--;
|
||||
|
||||
|
@ -562,7 +561,6 @@ ephysics_world_new(void)
|
|||
else
|
||||
world->dynamics_world->getPairCache()->setOverlapFilterCallback(filter_cb);
|
||||
|
||||
world->soft_body_ref = 0;
|
||||
world->rate = 30;
|
||||
world->max_sub_steps = 3;
|
||||
world->fixed_time_step = 1/60.f;
|
||||
|
|
Loading…
Reference in New Issue