diff options
| author | Pier Angelo Vendrame <PieroV@users.noreply.github.com> | 2024-11-06 09:39:22 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-06 09:39:22 +0100 |
| commit | 0d791eb794d616c983145853e9c7594baef8f66c (patch) | |
| tree | 0c4bd89153a894bfb1f59ff9d4a7ef0a58e6f7b1 | |
| parent | 9e1113c5c7e3c3a042bc5979c158e752acfeb46a (diff) | |
| download | rapier-0d791eb794d616c983145853e9c7594baef8f66c.tar.gz rapier-0d791eb794d616c983145853e9c7594baef8f66c.tar.bz2 rapier-0d791eb794d616c983145853e9c7594baef8f66c.zip | |
Fixed some typos. (#757)
| -rw-r--r-- | src/geometry/collider.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index 1ceab43..c0cec6b 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -574,15 +574,15 @@ impl ColliderBuilder { } /// Initialize a new collider builder with a cylindrical shape defined by its half-height - /// (along along the y axis) and its radius. + /// (along the Y axis) and its radius. #[cfg(feature = "dim3")] pub fn cylinder(half_height: Real, radius: Real) -> Self { Self::new(SharedShape::cylinder(half_height, radius)) } /// Initialize a new collider builder with a rounded cylindrical shape defined by its half-height - /// (along along the y axis), its radius, and its roundedness (the - /// radius of the sphere used for dilating the cylinder). + /// (along the Y axis), its radius, and its roundedness (the radius of the sphere used for + /// dilating the cylinder). #[cfg(feature = "dim3")] pub fn round_cylinder(half_height: Real, radius: Real, border_radius: Real) -> Self { Self::new(SharedShape::round_cylinder( @@ -593,15 +593,15 @@ impl ColliderBuilder { } /// Initialize a new collider builder with a cone shape defined by its half-height - /// (along along the y axis) and its basis radius. + /// (along the Y axis) and its basis radius. #[cfg(feature = "dim3")] pub fn cone(half_height: Real, radius: Real) -> Self { Self::new(SharedShape::cone(half_height, radius)) } /// Initialize a new collider builder with a rounded cone shape defined by its half-height - /// (along along the y axis), its radius, and its roundedness (the - /// radius of the sphere used for dilating the cylinder). + /// (along the Y axis), its radius, and its roundedness (the radius of the sphere used for + /// dilating the cylinder). #[cfg(feature = "dim3")] pub fn round_cone(half_height: Real, radius: Real, border_radius: Real) -> Self { Self::new(SharedShape::round_cone(half_height, radius, border_radius)) |
