diff options
Diffstat (limited to 'src/dynamics/ccd')
| -rw-r--r-- | src/dynamics/ccd/ccd_solver.rs | 2 | ||||
| -rw-r--r-- | src/dynamics/ccd/toi_entry.rs | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/dynamics/ccd/ccd_solver.rs b/src/dynamics/ccd/ccd_solver.rs index e9ecfb8..0f97cfc 100644 --- a/src/dynamics/ccd/ccd_solver.rs +++ b/src/dynamics/ccd/ccd_solver.rs @@ -108,6 +108,7 @@ impl CCDSolver { } /// Find the first time a CCD-enabled body has a non-sensor collider hitting another non-sensor collider. + #[profiling::function] pub fn find_first_impact( &mut self, dt: Real, @@ -225,6 +226,7 @@ impl CCDSolver { } /// Outputs the set of bodies as well as their first time-of-impact event. + #[profiling::function] pub fn predict_impacts_at_next_positions( &mut self, dt: Real, diff --git a/src/dynamics/ccd/toi_entry.rs b/src/dynamics/ccd/toi_entry.rs index 82b4532..a85e107 100644 --- a/src/dynamics/ccd/toi_entry.rs +++ b/src/dynamics/ccd/toi_entry.rs @@ -34,6 +34,7 @@ impl TOIEntry { } } + #[profiling::function] pub fn try_from_colliders<QD: ?Sized + QueryDispatcher>( query_dispatcher: &QD, ch1: ColliderHandle, |
