HexMapLibrary
Static Public Member Functions | List of all members
Wunderwunsch.HexMapLibrary.HexGrid.GetEdge Class Reference

Static Public Member Functions

static Vector3Int ClosestToCartesianCoordinate (Vector3 cartesianCoordinate)
 returns the edge coordinate closest to the input cartesian coordinate More...
 
static Vector3Int BetweenTiles (Vector3Int a, Vector3Int b)
 returns the edge shared by 2 neighbouring tiles More...
 
static Vector3Int BetweenCorners (Vector3Int CornerA, Vector3Int CornerB)
 returns the edge shared by 2 neighbouring corners More...
 

Member Function Documentation

◆ ClosestToCartesianCoordinate()

static Vector3Int Wunderwunsch.HexMapLibrary.HexGrid.GetEdge.ClosestToCartesianCoordinate ( Vector3  cartesianCoordinate)
static

returns the edge coordinate closest to the input cartesian coordinate

◆ BetweenTiles()

static Vector3Int Wunderwunsch.HexMapLibrary.HexGrid.GetEdge.BetweenTiles ( Vector3Int  a,
Vector3Int  b 
)
static

returns the edge shared by 2 neighbouring tiles

◆ BetweenCorners()

static Vector3Int Wunderwunsch.HexMapLibrary.HexGrid.GetEdge.BetweenCorners ( Vector3Int  CornerA,
Vector3Int  CornerB 
)
static

returns the edge shared by 2 neighbouring corners

TODO Add image