diff options
| author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2023-08-28 11:05:45 +0700 |
|---|---|---|
| committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2023-08-28 11:05:45 +0700 |
| commit | 4c2d18a0cd2da342c94e4374d68a010d590a98f7 (patch) | |
| tree | 0fd7f5782bb40780911cc5dbc6d677ffccd1454b /src/dynamics/rigid_body_components.rs | |
| parent | 5c6def32396016f431552f8d0468ac4d5cee16e8 (diff) | |
| download | rapier-4c2d18a0cd2da342c94e4374d68a010d590a98f7.tar.gz rapier-4c2d18a0cd2da342c94e4374d68a010d590a98f7.tar.bz2 rapier-4c2d18a0cd2da342c94e4374d68a010d590a98f7.zip | |
docs: Minor fixes.
Diffstat (limited to 'src/dynamics/rigid_body_components.rs')
| -rw-r--r-- | src/dynamics/rigid_body_components.rs | 12 |
1 files changed, 6 insertions, 6 deletions
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> { |
