diff options
| author | Sébastien Crozet <developer@crozet.re> | 2023-09-09 12:56:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-09 12:56:46 +0200 |
| commit | 50b838381b8c3da8dbb0346b5baed54da66943b2 (patch) | |
| tree | a3776f0f8bfe3d94e4d84c72b0da221882279a10 /src/geometry | |
| parent | 32ffb3e1aa0bbd62bbd977e195aa6a769e8af61b (diff) | |
| parent | 4c2d18a0cd2da342c94e4374d68a010d590a98f7 (diff) | |
| download | rapier-50b838381b8c3da8dbb0346b5baed54da66943b2.tar.gz rapier-50b838381b8c3da8dbb0346b5baed54da66943b2.tar.bz2 rapier-50b838381b8c3da8dbb0346b5baed54da66943b2.zip | |
Merge pull request #520 from waywardmonkeys/doc-fixes
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, |
