bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.4k stars 3.59k forks source link

Trivial `bevy_picking` refactor #16374

Closed ickshonpe closed 1 week ago

ickshonpe commented 1 week ago

Objective

Remove the rebinding and use Rect::contains in bevy_picking::pointer::Location::is_in_viewport.