public static Vector3 ToVector3(this HexCubeCoord coord) { return(new Vector3(coord.x, coord.y, coord.z)); }
public static int Distance(HexCubeCoord a, HexCubeCoord b) { return((Math.Abs(a.x - b.x) + Math.Abs(a.y - b.y) + Math.Abs(a.z - b.z)) / 2); }