Alternative 2D box object with less memory impact (four numbers instead of two min/max objects with two numbers each). Should be faster.
New X value.
New y value.
New w value.
New h value.
New h value.
New w value.
New X value.
New y value.
Test box for inclusion of point.
X coordinate of point.
Y coordinate of point.
Test box for inclusion of another box.
Box 2 to test for inclusion.
Copy values from another box.
Another box.
Test two boxes for intersection.
Box 2 to test for intersection.
Set new values to all properties of the box.
New X value.
New y value.
New w value.
New h value.
Generated using TypeDoc
Alternative 2D box object with less memory impact (four numbers instead of two min/max objects with two numbers each). Should be faster.