From b9156302d331a1eaf9f40b84d8c1ffd68b9040ed Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Tue, 20 Oct 2020 18:57:53 +0200 Subject: Replace rounding -> round. --- src/geometry/collider.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/geometry') 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, )) } -- cgit