Skip to content

Commit 3d0e4c4

Browse files
Merge pull request #618 from RulerOfCakes/fix-collider-comment
2 parents c25fae6 + ae82d41 commit 3d0e4c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/geometry/collider_impl.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,29 +50,29 @@ impl Collider {
5050
}
5151

5252
/// Initialize a new collider with a cylindrical shape defined by its half-height
53-
/// (along along the y axis) and its radius.
53+
/// (along the y axis) and its radius.
5454
#[cfg(feature = "dim3")]
5555
pub fn cylinder(half_height: Real, radius: Real) -> Self {
5656
SharedShape::cylinder(half_height, radius).into()
5757
}
5858

5959
/// Initialize a new collider with a rounded cylindrical shape defined by its half-height
60-
/// (along along the y axis), its radius, and its roundedness (the
60+
/// (along the y axis), its radius, and its roundedness (the
6161
/// radius of the sphere used for dilating the cylinder).
6262
#[cfg(feature = "dim3")]
6363
pub fn round_cylinder(half_height: Real, radius: Real, border_radius: Real) -> Self {
6464
SharedShape::round_cylinder(half_height, radius, border_radius).into()
6565
}
6666

6767
/// Initialize a new collider with a cone shape defined by its half-height
68-
/// (along along the y axis) and its basis radius.
68+
/// (along the y axis) and its basis radius.
6969
#[cfg(feature = "dim3")]
7070
pub fn cone(half_height: Real, radius: Real) -> Self {
7171
SharedShape::cone(half_height, radius).into()
7272
}
7373

7474
/// Initialize a new collider with a rounded cone shape defined by its half-height
75-
/// (along along the y axis), its radius, and its roundedness (the
75+
/// (along the y axis), its radius, and its roundedness (the
7676
/// radius of the sphere used for dilating the cylinder).
7777
#[cfg(feature = "dim3")]
7878
pub fn round_cone(half_height: Real, radius: Real, border_radius: Real) -> Self {

0 commit comments

Comments
 (0)