bbox
bbox copied to clipboard
Contains point
NIce library. It'd be convenient if it contained a point-inclusion test.
That should be straightforward right?
Give a point (x, y), we can check for box.x1 <= x <= box.x2 and box.y1 <= y <= box.y2.
If this doesn't work for you, PRs are welcome.