Torus colatitude formula documentation
It's a comment-only change, so there's no real reason not to accept it even during S3_0 code freeze, especially before RC1.
(Given the available Resolution values in osdn, we use "Accepted" to mark that the review period begins)
The map_colatitude() function in server/generator/mapgen_topology.c contains a formula for torus topologies (permalink) documented only with the commentSince the referenced bug tracker is long dead (and not in the Wayback Machine), the Gmane link out of date (and the HTTP frontend doesn't seem to exist anymore), and – as far as I can discern – there's no actual explanation of the formula in what's left of the original discussion (at least none that I could find), this comment needs an update. For the sake of future-proofing, it would probably be prudent to put the explanation directly into a comment next to the formula this time (or at least somewhere within the repository itself).
I was able to reverse engineer the formula (with a bit of luck and a lot of trial and error):
This leaves open two questions: