aether::geometry::hex_coord Struct Reference

#include <hex.hh>

Public Member Functions

 hex_coord (int64_t q_, int64_t r_, int64_t s_)
 
hex_coordoperator+= (const hex_coord &rhs)
 

Public Attributes

int64_t q
 
int64_t r
 
int64_t s
 

Constructor & Destructor Documentation

aether::geometry::hex_coord::hex_coord ( int64_t  q_,
int64_t  r_,
int64_t  s_ 
)
inline

Member Function Documentation

hex_coord& aether::geometry::hex_coord::operator+= ( const hex_coord rhs)
inline

Member Data Documentation

int64_t aether::geometry::hex_coord::q
int64_t aether::geometry::hex_coord::r
int64_t aether::geometry::hex_coord::s