| PointyHexPointEuclideanNorm Method |
Returns the Euclidean norm of this point, treating it as lying in a (normalized) hex grid.
Namespace:
Gamelogic.Grids2
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax Remarks Note that this does not give the same result as
EuclideanNorm(GridPoint2). For example,
the point (1, 1) has
RectPoint.EuclideanNorm equal to
sqrt(2), but
the
PointyHexPoint.EuclideanNorm is
sqrt(3).
See Also