Skip to content

Commit

Permalink
Remove deprecated method added in new file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cameron Hart committed Mar 4, 2021
1 parent 90f6506 commit 2010d52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/3d/wireframe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ fn setup(
})
// camera
.spawn(PerspectiveCameraBundle {
transform: Transform::from_xyz(-2.0, 2.5, 5.0)
.looking_at(Vec3::default(), Vec3::unit_y()),
transform: Transform::from_xyz(-2.0, 2.5, 5.0).looking_at(Vec3::default(), Vec3::Y),
..Default::default()
});
}

0 comments on commit 2010d52

Please sign in to comment.