From b9b5b58f615a7e97dafa251b1f43e74e81b33fe0 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Mon, 28 Aug 2023 11:13:27 +0700 Subject: docs: Expand "wrt" to "with respect to". This makes things more clear as this abbreviation isn't known to everyone. While the trailing period is common in French, it isn't in English (one might use "w.r.t."). Fixes #498. --- src/geometry/collider.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/geometry') 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> { 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) { -- cgit