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

@@ -234,7 +234,7 @@ impl ParallelIslandSolver {
let dvel = mj_lambdas[rb.active_set_offset];
rb.linvel += dvel.linear;
rb.angvel += rb.world_inv_inertia_sqrt.transform_vector(dvel.angular);
rb.integrate(params.dt());
rb.integrate(params.dt);
positions[rb.active_set_offset] = rb.position;
}
}