diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-10-20 18:57:53 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-10-20 18:57:53 +0200 |
| commit | b9156302d331a1eaf9f40b84d8c1ffd68b9040ed (patch) | |
| tree | 221432939d4951388a2ce58b6db6dc9253c437df /src | |
| parent | f7a6f433d62ea427f6e2233365a6f534ca7e1c63 (diff) | |
| download | rapier-b9156302d331a1eaf9f40b84d8c1ffd68b9040ed.tar.gz rapier-b9156302d331a1eaf9f40b84d8c1ffd68b9040ed.tar.bz2 rapier-b9156302d331a1eaf9f40b84d8c1ffd68b9040ed.zip | |
Replace rounding -> round.
Diffstat (limited to 'src')
| -rw-r--r-- | src/geometry/collider.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/geometry/collider.rs b/src/geometry/collider.rs index 755ae5a..838dda2 100644 --- a/src/geometry/collider.rs +++ b/src/geometry/collider.rs @@ -39,10 +39,10 @@ impl ColliderShape { /// (along 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: f32, radius: f32, rounding_radius: f32) -> Self { + pub fn round_cylinder(half_height: f32, radius: f32, round_radius: f32) -> Self { ColliderShape(Arc::new(Rounded::new( Cylinder::new(half_height, radius), - rounding_radius, + round_radius, ))) } @@ -326,11 +326,11 @@ impl ColliderBuilder { /// (along 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: f32, radius: f32, rounding_radius: f32) -> Self { + pub fn round_cylinder(half_height: f32, radius: f32, round_radius: f32) -> Self { Self::new(ColliderShape::round_cylinder( half_height, radius, - rounding_radius, + round_radius, )) } |
