<URL: http://bugs.freeciv.org/Ticket/Display.html?id=23005 >
Can anyone here tell me (or point me to the file that contains it) the
min-distance equations for toroidal maps?
I have a similar problem (though not grid based) and the cheapest way of
calculating it is to translate the start and end points relative to 0,0
and calculate it from there. While that method is fairly simple I feel
there should be a more concise way to do it.
I wonder if you use a similar method to me or a better mathematical way?
Freeciv-dev mailing list