Skip to content

Commit

Permalink
Remove unnecessary precision change
Browse files Browse the repository at this point in the history
  • Loading branch information
Aceeri committed Aug 25, 2023
1 parent f600eef commit 8151c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bevy_rapier2d/examples/boxes2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub fn setup_physics(mut commands: Commands) {
commands.spawn((
TransformBundle::from(Transform::from_xyz(x, y, 0.0)),
RigidBody::Dynamic,
Collider::cuboid(rad.as_precise(), rad.as_precise()),
Collider::cuboid(rad, rad),
));
}

Expand Down

0 comments on commit 8151c65

Please sign in to comment.