Skip to content

Commit

Permalink
[alt] Changed used creation method for Vec3
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-lua committed Apr 9, 2024
1 parent e44a9e5 commit f2e9d73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/gizmos/3d_gizmos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ fn draw_example_collection(
// You can create more complex arrows using the arrow builder.
gizmos
.arrow(
Vec3::from_array([2., 0., 2.]),
Vec3::from_array([2., 2., 2.]),
Vec3::new(2., 0., 2.),
Vec3::new(2., 2., 2.),
ORANGE_RED,
)
.with_double_end()
Expand Down

0 comments on commit f2e9d73

Please sign in to comment.