-
-
Notifications
You must be signed in to change notification settings - Fork 178
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the
RayMap
resource and use it in rapier and mod_raycast backen…
…ds (#289) * add a RayMap resource This map will hold a mapping from (camera entity, pointer id) to Ray. This will be created before any backends run. It will be available for use by backends and picking event handlers. * use the RayMap in the rapier backend * use RayMap in the bevy_mod_raycast backend * add changelog entries * use RenderLayers::default() instead of all() * Fix changelog * Move ray module into backend module * add window scale test example --------- Co-authored-by: Aevyrie <[email protected]>
- Loading branch information
1 parent
7aafa82
commit f8e0484
Showing
7 changed files
with
275 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.