Method UpTriPseudoNorm
UpTriPseudoNorm(GridPoint2)
Returns the up-triangle pseudonorm of the given point.
public static int UpTriPseudoNorm(GridPoint2 point)
Parameters
point
GridPoint2
Returns
Remarks
All the points that satisfy UpTriPseudoNorm(p) < r
form an up-triangle in a pointy hex grid.
UpTriPseudoNorm(Vector2)
Returns the up-triangle pseudonorm of the given point.
public static float UpTriPseudoNorm(Vector2 point)
Parameters
point
Vector2
Returns
Remarks
All the points that satisfy UpTriPseudoNorm(p) < r
form an up triangle
in a pointy hex grid.