Home > rc-js-util > Vec2 > bound2d
If this point is outside of the range, set that dimension to the extrema of the range.
Signature:
bound2d(_range: IReadonlyRange2d<TTypedArray>): void;
Parameter | Type | Description |
---|---|---|
_range | IReadonlyRange2d<TTypedArray> | The range to be bound to, inclusive. |
Returns:
void