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

Static Public Member Functions

static Vector3Int ClosestToCartesianCoordinate (Vector3 cartesianCoordinate)
 returns the corner coordinate closest to the input cartesian coordinate More...
 
static Vector3Int BetweenNeighbouringTileCoordinates (Vector3Int a, Vector3Int b, Vector3Int c)
 returns the shared corner of the input tile coordinates More...
 

Member Function Documentation

◆ ClosestToCartesianCoordinate()

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

returns the corner coordinate closest to the input cartesian coordinate

◆ BetweenNeighbouringTileCoordinates()

static Vector3Int Wunderwunsch.HexMapLibrary.HexGrid.GetCorner.BetweenNeighbouringTileCoordinates ( Vector3Int  a,
Vector3Int  b,
Vector3Int  c 
)
static

returns the shared corner of the input tile coordinates

TODO Add image