diff options
| author | Crozet Sébastien <developer@crozet.re> | 2020-10-20 18:14:20 +0200 |
|---|---|---|
| committer | Crozet Sébastien <developer@crozet.re> | 2020-10-20 18:14:20 +0200 |
| commit | f7a6f433d62ea427f6e2233365a6f534ca7e1c63 (patch) | |
| tree | a54b68e92bfdc2154cdd94d1404e4bceee4f8a55 /examples3d | |
| parent | 949e3f5384a366c3bff5415c5db4635e811a580e (diff) | |
| download | rapier-f7a6f433d62ea427f6e2233365a6f534ca7e1c63.tar.gz rapier-f7a6f433d62ea427f6e2233365a6f534ca7e1c63.tar.bz2 rapier-f7a6f433d62ea427f6e2233365a6f534ca7e1c63.zip | |
Rename rounded -> round.
Diffstat (limited to 'examples3d')
| -rw-r--r-- | examples3d/heightfield3.rs | 2 | ||||
| -rw-r--r-- | examples3d/primitives3.rs | 2 | ||||
| -rw-r--r-- | examples3d/trimesh3.rs | 2 |
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(), }; |
