Bounds
Two points which represent a bounding square.
TODO: Add z index for 3D.
Constructor Summary
Public Constructor | ||
public |
constructor(x: number, y: number, w: number, h: number) |
Method Summary
Public Methods | ||
public |
isInBounds(point: Point): * Checks to see if the point [parameter 0] is within bounds. |
|
public |
Sets the bounding box to a new position. |
Public Methods
public isInBounds(point: Point): * source
Checks to see if the point [parameter 0] is within bounds.
Params:
Name | Type | Attribute | Description |
point | Point | Point to check within bounds. |
Return:
* |