26.04.2013, 15:45
Your problem is that you create LowestDistance inside the loop, thus setting it each time to 50000000.0
Also you could use Float: 0x7F800000 which represents infinity
Also you could use Float: 0x7F800000 which represents infinity