aboutsummaryrefslogtreecommitdiff
path: root/src/geometry
diff options
context:
space:
mode:
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 9f2cd2b..f9088b3 100644
--- a/src/geometry/collider.rs
+++ b/src/geometry/collider.rs
@@ -159,12 +159,12 @@ impl Collider {
&self.co_pos
}
- /// The translational part of this rigid-body's position.
+ /// The translational part of this collider's position.
pub fn translation(&self) -> &Vector<Real> {
&self.co_pos.0.translation.vector
}
- /// The rotational part of this rigid-body's position.
+ /// The rotational part of this collider's position.
pub fn rotation(&self) -> &Rotation<Real> {
&self.co_pos.0.rotation
}