Since most of the algorithms work with cube coordinates, I’ll need a data structure for cube coordinates, along with algorithms that work with them.The first thing to think about is what the core concepts will be. Now let’s write a library to handle hex grids. The main page covers the theory for hex grid algorithms and math. The data structures and functions here implement the math and algorithms described on that page. Note: this article is a companion guide to my guide to hex grids.
0 Comments
Leave a Reply. |