within
method for Vec2
and Vec3
#648
whimbur-total
started this conversation in
Ideas
Replies: 2 comments
-
I'm a bit undecided on this one. It feels like something that might be better supported in some kind of 2D bounding box type, put for now that is out of scope for glam. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A method to check if a point
self
is somewhere inside the area of a rectangle with pointa
being the top-left corner and pointb
being the bottom-right corner.example:
Beta Was this translation helpful? Give feedback.
All reactions