diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-11-03 12:25:34 +0100 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-11-03 12:25:34 +0100 |
| commit | bd6c0cb26c560efb9ba31d7151bbf657cf25a738 (patch) | |
| tree | 6aa4a805092e5f92ad2d4b25fcc5370608c8e9da | |
| parent | 5144cd6bf18db84e8cc5a7056ef563eff0a83bd7 (diff) | |
| download | rapier-bd6c0cb26c560efb9ba31d7151bbf657cf25a738.tar.gz rapier-bd6c0cb26c560efb9ba31d7151bbf657cf25a738.tar.bz2 rapier-bd6c0cb26c560efb9ba31d7151bbf657cf25a738.zip | |
Fix typo.
| -rw-r--r-- | src/dynamics/rigid_body.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynamics/rigid_body.rs b/src/dynamics/rigid_body.rs index bf35947..6b897a6 100644 --- a/src/dynamics/rigid_body.rs +++ b/src/dynamics/rigid_body.rs @@ -421,7 +421,7 @@ impl RigidBodyBuilder { /// attached to this rigid-body. /// /// Therefore, if you want your provided mass properties to be the final - /// mass properties of your rigid-bodies, don't attach colliders to it, or + /// mass properties of your rigid-body, don't attach colliders to it, or /// only attach colliders with densities equal to zero. pub fn mass_properties(mut self, props: MassProperties) -> Self { self.mass_properties = props; @@ -436,7 +436,7 @@ impl RigidBodyBuilder { /// attached to this rigid-body. /// /// Therefore, if you want your provided mass to be the final - /// mass of your rigid-bodies, don't attach colliders to it, or + /// mass of your rigid-body, don't attach colliders to it, or /// only attach colliders with densities equal to zero. pub fn mass(mut self, mass: f32) -> Self { self.mass_properties.inv_mass = crate::utils::inv(mass); |
