aabb2_signed_distance_to_point
aabb2_signed_distance_to_point(x0, y0, x1, y1, point_x, point_y) ⇒ number
Compute squared distance to point, value is negative if the point is inside the box
Kind: global function
| Param | Type |
|---|---|
| x0 | number |
| y0 | number |
| x1 | number |
| y1 | number |
| point_x | number |
| point_y | number |