Quote:
Originally Posted by Shadekeep
The three values are essentially the three axes along which the megahexes can be positioned. The first value is the X value, or column; the second value is the Y value, or row; and the third value is the shift value, or offset. The overlayMegahexes() function in the code uses these three values to determine where to begin drawing the first megahex, with all other megahexes positioned organically after that one.
|
Nice! I'm currently trying to solve this very problem, so that my mapping app can have megahex support. Got any pseudo-code you could share?