Table of Contents

Method StarNorm

Namespace
Gamelogic.Grids2
Assembly
Assembly-CSharp.dll

StarNorm(GridPoint2)

Returns the star norm of the point.

public static int StarNorm(GridPoint2 point)

Parameters

point GridPoint2

Returns

int

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

float

Remarks

All the points that satisfy DownTriPseudoNorm(p) < r form a six-pointed star in a pointy hex grid.