diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs index de11e15..77ad48d 100644 --- a/src/dynamics/rigid_body.rs +++ b/src/dynamics/rigid_body.rs @@ -490,7 +490,7 @@ impl RigidBody { } } - /// The translational part of this rigid-body's position. + /// The rotational part of this rigid-body's position. #[inline] pub fn rotation(&self) -> &Rotation { &self.rb_pos.position.rotation 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 { &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 { &self.co_pos.0.rotation }