aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
Diffstat (limited to 'src/geometry')
-rw-r--r--src/geometry/collider_components.rs2
-rw-r--r--src/geometry/narrow_phase.rs4
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,