aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
authorSébastien Crozet <developer@crozet.re>2023-09-09 12:56:35 +0200
committerGitHub <noreply@github.com>2023-09-09 12:56:35 +0200
commit32ffb3e1aa0bbd62bbd977e195aa6a769e8af61b (patch)
treeab306834d4be1b81e215f0307bc902dd5ca40ce9 /src/geometry
parentb977d41e5b1268d76ef0bc66f3b48baaa47ec9a2 (diff)
parentb9b5b58f615a7e97dafa251b1f43e74e81b33fe0 (diff)
downloadrapier-32ffb3e1aa0bbd62bbd977e195aa6a769e8af61b.tar.gz
rapier-32ffb3e1aa0bbd62bbd977e195aa6a769e8af61b.tar.bz2
rapier-32ffb3e1aa0bbd62bbd977e195aa6a769e8af61b.zip
Merge pull request #521 from waywardmonkeys/expand-wrt
docs: Expand "wrt" to "with respect to".
Diffstat (limited to 'src/geometry')
-rw-r--r--src/geometry/collider.rs4
1 files changed, 2 insertions, 2 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>) {