Skip to content

Instantly share code, notes, and snippets.

@KartikShrivastava
Created August 2, 2022 17:13
Show Gist options
  • Save KartikShrivastava/66dffee3361e7075417a439d5a6ab7b9 to your computer and use it in GitHub Desktop.
Save KartikShrivastava/66dffee3361e7075417a439d5a6ab7b9 to your computer and use it in GitHub Desktop.
struct StaggerUtil {
/**
* @brief Specifies the alignment of hex tiles, can be either "x" or "y"
*/
std::string staggerAxis;
/**
* @brief Specifies index(among each pair of neighbouring indices) to be shifted to create hex map,
* can be either "even" or "odd"
*/
std::string staggerIndex;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment