From 77a6cd3f26525ce6b02b63b34cb68d3a8a444ee2 Mon Sep 17 00:00:00 2001 From: Crozet Sébastien Date: Sun, 11 Jul 2021 18:41:51 +0200 Subject: Release v0.10.0 --- benchmarks2d/joint_ball2.rs | 4 ++-- benchmarks2d/joint_fixed2.rs | 4 ++-- benchmarks2d/joint_prismatic2.rs | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'benchmarks2d') diff --git a/benchmarks2d/joint_ball2.rs b/benchmarks2d/joint_ball2.rs index aadf91e..114fe85 100644 --- a/benchmarks2d/joint_ball2.rs +++ b/benchmarks2d/joint_ball2.rs @@ -42,7 +42,7 @@ pub fn init_world(testbed: &mut Testbed) { if i > 0 { let parent_handle = *body_handles.last().unwrap(); let joint = BallJoint::new(Point::origin(), point![0.0, shift]); - joints.insert(&mut bodies, parent_handle, child_handle, joint); + joints.insert(parent_handle, child_handle, joint); } // Horizontal joint. @@ -50,7 +50,7 @@ pub fn init_world(testbed: &mut Testbed) { let parent_index = body_handles.len() - numi; let parent_handle = body_handles[parent_index]; let joint = BallJoint::new(Point::origin(), point![-shift, 0.0]); - joints.insert(&mut bodies, parent_handle, child_handle, joint); + joints.insert(parent_handle, child_handle, joint); } body_handles.push(child_handle); diff --git a/benchmarks2d/joint_fixed2.rs b/benchmarks2d/joint_fixed2.rs index baaa250..8d6e8dc 100644 --- a/benchmarks2d/joint_fixed2.rs +++ b/benchmarks2d/joint_fixed2.rs @@ -50,7 +50,7 @@ pub fn init_world(testbed: &mut Testbed) { Isometry::identity(), Isometry::translation(0.0, shift), ); - joints.insert(&mut bodies, parent_handle, child_handle, joint); + joints.insert(parent_handle, child_handle, joint); } // Horizontal joint. @@ -61,7 +61,7 @@ pub fn init_world(testbed: &mut Testbed) { Isometry::identity(), Isometry::translation(-shift, 0.0), ); - joints.insert(&mut bodies, parent_handle, child_handle, joint); + joints.insert(parent_handle, child_handle, joint); } body_handles.push(child_handle); diff --git a/benchmarks2d/joint_prismatic2.rs b/benchmarks2d/joint_prismatic2.rs index 0cbf859..c2b4bf3 100644 --- a/benchmarks2d/joint_prismatic2.rs +++ b/benchmarks2d/joint_prismatic2.rs @@ -51,7 +51,7 @@ pub fn init_world(testbed: &mut Testbed) { prism.limits_enabled = true; prism.limits[0] = -1.5; prism.limits[1] = 1.5; - joints.insert(&mut bodies, curr_parent, curr_child, prism); + joints.insert(curr_parent, curr_child, prism); curr_parent = curr_child; } -- cgit