Skip to content

Commit

Permalink
Fix the mouse_picking example (#91)
Browse files Browse the repository at this point in the history
* Fix the mouse_picking example

* revert removed testing example code

---------

Co-authored-by: Aevyrie <aevyrie@gmail.com>
  • Loading branch information
Aztro-dev and aevyrie authored Oct 4, 2023
1 parent 65037f5 commit 6cc951c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/mouse_picking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ fn main() {
First,
update_raycast_with_cursor.before(RaycastSystem::BuildRays::<MyRaycastSet>),
)
.add_systems(Startup, (setup, print_intersections::<MyRaycastSet>))
.add_systems(Startup, setup)
.add_systems(Update, print_intersections::<MyRaycastSet>)
.run();
}

Expand Down

0 comments on commit 6cc951c

Please sign in to comment.