Constructor Hexagon2D
Hexagon2D(Vector2, float, Orientation)
Creates a regular hexagon from center, radius, and orientation.
public Hexagon2D(Vector2 center, float radius, Hexagon2D.Orientation orientation)
Parameters
centerVector2The center of the hexagon.
radiusfloatThe circumradius of the hexagon.
orientationHexagon2D.OrientationThe orientation used to place the first vertex.