From f7a6f433d62ea427f6e2233365a6f534ca7e1c63 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Tue, 20 Oct 2020 18:14:20 +0200 Subject: Rename rounded -> round. --- examples3d/heightfield3.rs | 2 +- examples3d/primitives3.rs | 2 +- examples3d/trimesh3.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples3d') diff --git a/examples3d/heightfield3.rs b/examples3d/heightfield3.rs index 8c3386a..1213020 100644 --- a/examples3d/heightfield3.rs +++ b/examples3d/heightfield3.rs @@ -59,7 +59,7 @@ pub fn init_world(testbed: &mut Testbed) { 1 => ColliderBuilder::ball(rad).build(), // Rounded cylinders are much more efficient that cylinder, even if the // rounding margin is small. - 2 => ColliderBuilder::rounded_cylinder(rad, rad, rad / 10.0).build(), + 2 => ColliderBuilder::round_cylinder(rad, rad, rad / 10.0).build(), _ => ColliderBuilder::cone(rad, rad).build(), }; diff --git a/examples3d/primitives3.rs b/examples3d/primitives3.rs index daabd23..96636a4 100644 --- a/examples3d/primitives3.rs +++ b/examples3d/primitives3.rs @@ -55,7 +55,7 @@ pub fn init_world(testbed: &mut Testbed) { 1 => ColliderBuilder::ball(rad).build(), // Rounded cylinders are much more efficient that cylinder, even if the // rounding margin is small. - 2 => ColliderBuilder::rounded_cylinder(rad, rad, rad / 10.0).build(), + 2 => ColliderBuilder::round_cylinder(rad, rad, rad / 10.0).build(), _ => ColliderBuilder::cone(rad, rad).build(), }; diff --git a/examples3d/trimesh3.rs b/examples3d/trimesh3.rs index 8fee784..5ada899 100644 --- a/examples3d/trimesh3.rs +++ b/examples3d/trimesh3.rs @@ -69,7 +69,7 @@ pub fn init_world(testbed: &mut Testbed) { 1 => ColliderBuilder::ball(rad).build(), // Rounded cylinders are much more efficient that cylinder, even if the // rounding margin is small. - 2 => ColliderBuilder::rounded_cylinder(rad, rad, rad / 10.0).build(), + 2 => ColliderBuilder::round_cylinder(rad, rad, rad / 10.0).build(), _ => ColliderBuilder::cone(rad, rad).build(), }; -- cgit