aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2020-10-20 18:57:53 +0200
committerCrozet Sébastien <developer@crozet.re>2020-10-20 18:57:53 +0200
commitb9156302d331a1eaf9f40b84d8c1ffd68b9040ed (patch)
tree221432939d4951388a2ce58b6db6dc9253c437df
parentf7a6f433d62ea427f6e2233365a6f534ca7e1c63 (diff)
downloadrapier-b9156302d331a1eaf9f40b84d8c1ffd68b9040ed.tar.gz
rapier-b9156302d331a1eaf9f40b84d8c1ffd68b9040ed.tar.bz2
rapier-b9156302d331a1eaf9f40b84d8c1ffd68b9040ed.zip
Replace rounding -> round.
-rw-r--r--src/geometry/collider.rs8
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,
))
}