Table of Contents

Method DownTriPseudoNorm

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

DownTriPseudoNorm(GridPoint2)

Returns the down-triangle pseudonorm of the given point.

public static int DownTriPseudoNorm(GridPoint2 point)

Parameters

point GridPoint2

Returns

int

Remarks

All the points that satisfy DownTriPseudoNorm(p) < r form a down triangle in a pointy hex grid.

DownTriPseudoNorm(Vector2)

Returns the down-triangle pseudonorm of the given point.

public static float DownTriPseudoNorm(Vector2 point)

Parameters

point Vector2

Returns

float

Remarks

All the points that satisfy DownTriPseudoNorm(p) < r form a down triangle in a pointy hex grid.