Returns the distance at which a line from angleRadian hits line. Returns Infinity
if there's no intersection.
Calculations assume that all angles etc are in relation to a common origin point.
If repeatedly comparing against the same line (or set of lines), use intersectionDistanceCompute for
improved performance.
Returns the distance at which a line from
angleRadianhitsline. ReturnsInfinityif there's no intersection.Calculations assume that all angles etc are in relation to a common origin point. If repeatedly comparing against the same line (or set of lines), use intersectionDistanceCompute for improved performance.