Function: rotatedBoxExit()
ts
function rotatedBoxExit(b, from, d): number;Experimental
Where a ray from from in direction d (unit) leaves the box: the parameter of the exit point, or 0 when from is outside the box.
Parameters
| Parameter | Type |
|---|---|
b | RotatedBox |
from | ScreenPoint2D |
d | ScreenPoint2D |
Returns
number