Represents a map location in cubic hexagonal coordinates. More...
#include <location.hpp>
Public Attributes | |
int | q |
int | r |
int | s |
Represents a map location in cubic hexagonal coordinates.
See https://www.redblobgames.com/grids/hexagons/#coordinates-cube for a more detailed explanation.
Definition at line 33 of file location.hpp.
int cubic_location::q |
Definition at line 34 of file location.hpp.
Referenced by luaW_tocubeloc(), and map_location::rotate_right_around_center().
int cubic_location::r |
Definition at line 34 of file location.hpp.
Referenced by luaW_tocubeloc().
int cubic_location::s |
Definition at line 34 of file location.hpp.
Referenced by luaW_tocubeloc().