IntegrationParameters: deprectate dt() and inv_dt() methods

This commit is contained in:
Emil Ernerfeldt
2021-01-22 13:38:59 +01:00
parent 581d13edbd
commit 315493ebfb
8 changed files with 10 additions and 9 deletions

View File

@@ -143,7 +143,7 @@ impl NPhysicsWorld {
.max_velocity_iterations = params.max_velocity_iterations;
self.mechanical_world
.integration_parameters
.set_dt(params.dt());
.set_dt(params.dt);
counters.step_started();
self.mechanical_world.step(