aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics/ccd
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-04-01 10:11:32 +0200
committerCrozet Sébastien <developer@crozet.re>2021-04-01 10:11:32 +0200
commit0ecc302971e353f181c5319504124c3967c89d15 (patch)
treeb97303ebbe051d9c6a9cfaf8ed234edd3a171934 /src/dynamics/ccd
parent4fb898c77cb157dae4ea8ae52d4ac4a7a194e11d (diff)
downloadrapier-0ecc302971e353f181c5319504124c3967c89d15.tar.gz
rapier-0ecc302971e353f181c5319504124c3967c89d15.tar.bz2
rapier-0ecc302971e353f181c5319504124c3967c89d15.zip
Some small performance improvements.
Diffstat (limited to 'src/dynamics/ccd')
-rw-r--r--src/dynamics/ccd/ccd_solver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynamics/ccd/ccd_solver.rs b/src/dynamics/ccd/ccd_solver.rs
index 41b195c..134b8a6 100644
--- a/src/dynamics/ccd/ccd_solver.rs
+++ b/src/dynamics/ccd/ccd_solver.rs
@@ -52,7 +52,7 @@ impl CCDSolver {
* crate::utils::inv(body.max_point_velocity()))
.min(dt);
// println!("Min toi: {}, Toi: {}", min_toi, toi);
- body.integrate_next_position(toi.max(min_toi), false);
+ body.integrate_next_position(toi.max(min_toi));
}
}
}