Hexworks / mixite

A GUI agnostic hexagonal grid library. Supports a multitude of grid layouts including hexagonal, triangular, rectangular and more.
Apache License 2.0
191 stars 31 forks source link

Create getGrid_() methods for debugging pursposes for HEXAGONAL grid layout #39

Open vkovtun opened 6 years ago

vkovtun commented 6 years ago

This is a feature suggestion.

Currently the methods getGridX(), getGridY(), getGridZ() of the CubeCoordinate class show the grid cube coordinates with the origin (0, 0, 0) on the top left, which is outside of the grid if the layout is HEXAGONAL. Having the origin in the center of the grid would be more useful.