diff options
Diffstat (limited to 'src/geometry')
| -rw-r--r-- | src/geometry/collider.rs | 4 | ||||
| -rw-r--r-- | src/geometry/collider_components.rs | 2 | ||||
| -rw-r--r-- | src/geometry/narrow_phase.rs | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index 7556eb8..bcd4c56 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -214,7 +214,7 @@ impl Collider { &self.pos.0.rotation } - /// The position of this collider wrt the body it is attached to. + /// The position of this collider with respect to the body it is attached to. pub fn position_wrt_parent(&self) -> Option<&Isometry<Real>> { self.parent.as_ref().map(|p| &p.pos_wrt_parent) } @@ -235,7 +235,7 @@ impl Collider { } } - /// Sets the position of this collider wrt. its parent rigid-body. + /// Sets the position of this collider with respect to its parent rigid-body. /// /// Does nothing if the collider is not attached to a rigid-body. pub fn set_position_wrt_parent(&mut self, pos_wrt_parent: Isometry<Real>) { 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, |
