-
It differs from intersectLineRect because it doesn't return a bool, but just changes the line to an empty line, if the line doesn't intersect with the rectangle. This is useful for drawing inside a viewport etc.
dcbbabc9
It differs from intersectLineRect because it doesn't return a bool, but just changes the line to an empty line, if the line doesn't intersect with the rectangle. This is useful for drawing inside a viewport etc.