From 7c43e96943dd00bd57546213d918d44703d37b72 Mon Sep 17 00:00:00 2001 From: pellico Date: Thu, 27 Jul 2023 18:12:35 +0200 Subject: Removed not required parentheses --- examples2d/joint_motor_position2.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples2d/joint_motor_position2.rs b/examples2d/joint_motor_position2.rs index c44ea13..56866ac 100644 --- a/examples2d/joint_motor_position2.rs +++ b/examples2d/joint_motor_position2.rs @@ -38,7 +38,7 @@ pub fn init_world(testbed: &mut Testbed) { .local_anchor1(point![x_pos, 1.5]) .local_anchor2(point![0.0, -0.5]) .motor_position( - (std::f32::consts::PI - std::f32::consts::PI / 4.0 * num as f32), + std::f32::consts::PI - std::f32::consts::PI / 4.0 * num as f32, 1000.0, 150.0, ); -- cgit