Skip to content

Commit

Permalink
Fix typo in parenting_commands
Browse files Browse the repository at this point in the history
  • Loading branch information
james-j-obrien committed Dec 1, 2024
1 parent 49336a9 commit 8c50925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/parenting_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fn setup(mut commands: Commands, mut shapes: ShapeCommands, mut meshes: ResMut<A
commands
.spawn((Target, Transform::default(), Visibility::default()))
.with_shape_children(shapes.config(), |child_builder| {
for _ in 0..1 {
for _ in 0..4 {
child_builder.rotate_z(PI / 2.0);
child_builder.line(Vec3::Y, Vec3::Y * 2.0);
}
Expand Down

0 comments on commit 8c50925

Please sign in to comment.