Method ManhattanNorm
ManhattanNorm(GridPoint2)
Returns the Hex-Manhattan norm of a point, defined by how many edges you have to cross in a hex grid moving from the origin to the point.
public static int ManhattanNorm(GridPoint2 point)
Parameters
point
GridPoint2
Returns
Remarks
Equivalent to the HexNorm(GridPoint2).
ManhattanNorm(Vector2)
Returns the Hex-Manhattan norm of a point, defined by how many edges you have to cross in a hex grid moving from the origin to the point.
public static float ManhattanNorm(Vector2 point)
Parameters
point
Vector2
Returns
Remarks
Equivalent to the HexNorm(Vector2).