From a9e3441ecd64d50b478ab5370fabe187ec9a5c39 Mon Sep 17 00:00:00 2001 From: Sébastien Crozet Date: Sat, 19 Mar 2022 16:23:09 +0100 Subject: Rename rigid-body `static` to `fixed` --- benchmarks3d/trimesh3.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'benchmarks3d/trimesh3.rs') diff --git a/benchmarks3d/trimesh3.rs b/benchmarks3d/trimesh3.rs index e9d73ee..ea5aaaa 100644 --- a/benchmarks3d/trimesh3.rs +++ b/benchmarks3d/trimesh3.rs @@ -36,7 +36,7 @@ pub fn init_world(testbed: &mut Testbed) { let heightfield = HeightField::new(heights, ground_size); let (vertices, indices) = heightfield.to_trimesh(); - let rigid_body = RigidBodyBuilder::new_static(); + let rigid_body = RigidBodyBuilder::fixed(); let handle = bodies.insert(rigid_body); let collider = ColliderBuilder::trimesh(vertices, indices); colliders.insert_with_parent(collider, handle, &mut bodies); @@ -60,7 +60,7 @@ pub fn init_world(testbed: &mut Testbed) { let z = k as f32 * shift - centerz; // Build the rigid body. - let rigid_body = RigidBodyBuilder::new_dynamic().translation(vector![x, y, z]); + let rigid_body = RigidBodyBuilder::dynamic().translation(vector![x, y, z]); let handle = bodies.insert(rigid_body); if j % 2 == 0 { -- cgit