Method StarNorm
StarNorm(GridPoint2)
Returns the star norm of the point.
public static int StarNorm(GridPoint2 point)
Parameters
point
GridPoint2
Returns
Remarks
All the points that satisfy DownTriPseudoNorm(p) < r
form a six-pointed star
in a pointy hex grid.
StarNorm(Vector2)
Returns the star norm of the point.
public static float StarNorm(Vector2 point)
Parameters
point
Vector2
Returns
Remarks
All the points that satisfy DownTriPseudoNorm(p) < r
form a six-pointed star
in a pointy hex grid.