A raycast from the given position in a specified direction.
Static methods
staticinlinefromPoints(p1:Point, p2:Point):Ray
Returns a new Ray starting at Point p1
and pointing at Point p2
.
staticinlinefromValues(x:Float, y:Float, dx:Float, dy:Float):Ray
Returns a new Ray at given position and direction.