aboutsummaryrefslogtreecommitdiff
path: root/examples3d
diff options
context:
space:
mode:
Diffstat (limited to 'examples3d')
-rw-r--r--examples3d/heightfield3.rs2
-rw-r--r--examples3d/primitives3.rs2
-rw-r--r--examples3d/trimesh3.rs2
3 files changed, 3 insertions, 3 deletions
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(),
};