Fixed a bug in World.Utils.lineDistance. When the first two arguments were equal (the line only had one point, effectively), the distance to a third point was ill-defined and resulted in a division by zero. We now return a distance of 0.
Fixed a bug in World.Utils.lineDistance.
When the first two arguments were equal (the line only had one point, effectively), the distance to a third point was ill-defined and resulted in a division by zero. We now return a distance of 0.

jtapolczai/wumpus