technique

Rectangle Point Collision

A point is inside a rectangle when it lies between the rectangle's left/right edges and between its top/bottom edges.

Also called: point-in-rect hit test

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.