aboutsummaryrefslogtreecommitdiff
path: root/src/dynamics
diff options
context:
space:
mode:
Diffstat (limited to 'src/dynamics')
-rw-r--r--src/dynamics/rigid_body.rs2
-rw-r--r--src/dynamics/rigid_body_components.rs12
2 files changed, 7 insertions, 7 deletions
diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs
index 97974d9..42e4f88 100644
--- a/src/dynamics/rigid_body.rs
+++ b/src/dynamics/rigid_body.rs
@@ -397,7 +397,7 @@ impl RigidBody {
/// Sets the rigid-body's additional mass.
///
/// The total angular inertia of the rigid-body will be scaled automatically based on this
- /// additional mass. If this scaling effect isn’t desired, use [`Self::additional_mass_properties`]
+ /// additional mass. If this scaling effect isn’t desired, use [`Self::set_additional_mass_properties`]
/// instead of this method.
///
/// This is only the "additional" mass because the total mass of the rigid-body is
diff --git a/src/dynamics/rigid_body_components.rs b/src/dynamics/rigid_body_components.rs
index 2d51901..1a5ca1d 100644
--- a/src/dynamics/rigid_body_components.rs
+++ b/src/dynamics/rigid_body_components.rs
@@ -430,7 +430,7 @@ impl RigidBodyVelocity {
/// Converts a slice to a rigid-body velocity.
///
- /// The slice must contain at least 3 elements: the `slice[0..2] contains
+ /// The slice must contain at least 3 elements: the `slice[0..2]` contains
/// the linear velocity and the `slice[2]` contains the angular velocity.
#[must_use]
#[cfg(feature = "dim2")]
@@ -443,7 +443,7 @@ impl RigidBodyVelocity {
/// Converts a slice to a rigid-body velocity.
///
- /// The slice must contain at least 6 elements: the `slice[0..3] contains
+ /// The slice must contain at least 6 elements: the `slice[0..3]` contains
/// the linear velocity and the `slice[3..6]` contains the angular velocity.
#[must_use]
#[cfg(feature = "dim3")]
@@ -481,7 +481,7 @@ impl RigidBodyVelocity {
/// This velocity seen as a vector.
///
- /// The linear part is stored first.
+ /// The linear part is stored first.
#[inline]
#[cfg(feature = "dim2")]
pub fn as_vector(&self) -> &na::Vector3<Real> {
@@ -490,7 +490,7 @@ impl RigidBodyVelocity {
/// This velocity seen as a mutable vector.
///
- /// The linear part is stored first.
+ /// The linear part is stored first.
#[inline]
#[cfg(feature = "dim2")]
pub fn as_vector_mut(&mut self) -> &mut na::Vector3<Real> {
@@ -499,7 +499,7 @@ impl RigidBodyVelocity {
/// This velocity seen as a vector.
///
- /// The linear part is stored first.
+ /// The linear part is stored first.
#[inline]
#[cfg(feature = "dim3")]
pub fn as_vector(&self) -> &na::Vector6<Real> {
@@ -508,7 +508,7 @@ impl RigidBodyVelocity {
/// This velocity seen as a mutable vector.
///
- /// The linear part is stored first.
+ /// The linear part is stored first.
#[inline]
#[cfg(feature = "dim3")]
pub fn as_vector_mut(&mut self) -> &mut na::Vector6<Real> {