diff options
| author | Sébastien Crozet <sebcrozet@dimforge.com> | 2024-05-04 17:51:15 +0200 |
|---|---|---|
| committer | Sébastien Crozet <sebastien@crozet.re> | 2024-05-05 16:17:39 +0200 |
| commit | 7565e5e4efb56bb8ba987c251b932bffc15a40c8 (patch) | |
| tree | 037acb54bcb7384811214f966bb5e5680ac17d5c /src/dynamics | |
| parent | dbefeb04186226536ec7f4f248c71f056265916a (diff) | |
| download | rapier-7565e5e4efb56bb8ba987c251b932bffc15a40c8.tar.gz rapier-7565e5e4efb56bb8ba987c251b932bffc15a40c8.tar.bz2 rapier-7565e5e4efb56bb8ba987c251b932bffc15a40c8.zip | |
chore: update to the latest parry api
Diffstat (limited to 'src/dynamics')
| -rw-r--r-- | src/dynamics/ccd/toi_entry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamics/ccd/toi_entry.rs b/src/dynamics/ccd/toi_entry.rs index 719f3c5..426cbb1 100644 --- a/src/dynamics/ccd/toi_entry.rs +++ b/src/dynamics/ccd/toi_entry.rs @@ -129,7 +129,7 @@ impl TOIEntry { // .ok(); let res_toi = query_dispatcher - .nonlinear_time_of_impact( + .cast_shapes_nonlinear( &motion_c1, co1.shape.as_ref(), &motion_c2, @@ -143,7 +143,7 @@ impl TOIEntry { let toi = res_toi??; Some(Self::new( - toi.toi, + toi.time_of_impact, ch1, co1.parent.map(|p| p.handle), ch2, |
