Hex Map Addressing

32 thoughts
last posted Feb. 17, 2015, 1:52 a.m.

14 earlier thoughts

0

If we call the tail address t and the direction d then:

  • if (t - d) == 2, result is d + 1 (== t - 1)
  • if (t - d) == -2, result is d - 1 (== t + 1)

17 later thoughts