Bug fix - misused variable
Fix bug - fix usage of undefined function
Calculate collision point between a front and an edge
Create point method for calculating distance between points
Refactor Line.getLength() method to use it
Use triangles based method for more accurate linear collision detection