Checks if there is a collision between a line and a rectangle.
Line vertexs.
Rectangle vertexs.
See Implementation
Checks if there is a collision between a line and a rectangle.