aevyrie / bevy_mod_raycast

A little mesh raycasting plugin for Bevy
https://crates.io/crates/bevy_mod_raycast
MIT License
320 stars 93 forks source link

Fixed Ray3d::from_screenspace #50

Closed CourtneyAbraham closed 2 years ago

CourtneyAbraham commented 2 years ago

After this commit was merged to bevy/main in the Bevy repo, the Camera struct no longer has the near value stored. This just calculates the near value from the camera's projection matrix

aevyrie commented 2 years ago

Thanks for this fix @CourtneyAbraham!