contains
Check if a point lies within this rectangle, inclusive of its edges.
Examples
# use bevy_math::URect; let r = URect::new(0, 0, 5, 1); // w=5 h=1 assert!(r.contains(r.center())); assert!(r.contains(r.min)); assert!(r.contains(r.max));
Arguments
- _self :
URect
- No Documentation 🚧 - point :
UVec2
- No Documentation 🚧
Returns
- arg0 :
bool
- No Documentation 🚧