diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2023-08-28 11:05:45 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2023-08-28 11:05:45 +0700 |
| commit | 4c2d18a0cd2da342c94e4374d68a010d590a98f7 (patch) | |
| tree | 0fd7f5782bb40780911cc5dbc6d677ffccd1454b /src/geometry | |
| parent | 5c6def32396016f431552f8d0468ac4d5cee16e8 (diff) | |
| download | rapier-4c2d18a0cd2da342c94e4374d68a010d590a98f7.tar.gz rapier-4c2d18a0cd2da342c94e4374d68a010d590a98f7.tar.bz2 rapier-4c2d18a0cd2da342c94e4374d68a010d590a98f7.zip | |
docs: Minor fixes.
Diffstat (limited to 'src/geometry')
| -rw-r--r-- | src/geometry/collider_components.rs | 2 | ||||
| -rw-r--r-- | src/geometry/narrow_phase.rs | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/geometry/collider_components.rs b/src/geometry/collider_components.rs index 0e65bac..98ddbb7 100644 --- a/src/geometry/collider_components.rs +++ b/src/geometry/collider_components.rs @@ -136,7 +136,7 @@ pub enum ColliderMassProps { /// The collider is given a density. /// /// Its actual `MassProperties` are computed automatically with - /// the help of [`SharedShape::mass_properties`]. + /// the help of [`Shape::mass_properties`]. Density(Real), /// The collider is given a mass. /// diff --git a/src/geometry/narrow_phase.rs b/src/geometry/narrow_phase.rs index dacca9e..4500284 100644 --- a/src/geometry/narrow_phase.rs +++ b/src/geometry/narrow_phase.rs @@ -178,7 +178,7 @@ impl NarrowPhase { /// /// If this returns `None`, there is no contact between the two colliders. /// If this returns `Some`, then there may be a contact between the two colliders. Check the - /// result [`ContactPair::has_any_active_collider`] method to see if there is an actual contact. + /// result [`ContactPair::has_any_active_contact`] method to see if there is an actual contact. pub fn contact_pair_unknown_gen(&self, collider1: u32, collider2: u32) -> Option<&ContactPair> { let id1 = self.graph_indices.get_unknown_gen(collider1)?; let id2 = self.graph_indices.get_unknown_gen(collider2)?; @@ -191,7 +191,7 @@ impl NarrowPhase { /// /// If this returns `None`, there is no contact between the two colliders. /// If this returns `Some`, then there may be a contact between the two colliders. Check the - /// result [`ContactPair::has_any_active_collider`] method to see if there is an actual contact. + /// result [`ContactPair::has_any_active_contact`] method to see if there is an actual contact. pub fn contact_pair( &self, collider1: ColliderHandle, |
