Class PointyTriHexagonWrapper
A wrapper that wraps tri points over a hexagon, similar to the way hex points are wrapped in this example:
http://www.redblobgames.com/grids/hexagons/
Since version 1.7
public class PointyTriHexagonWrapper : IPointWrapper<PointyTriPoint>
- Inheritance
-
PointyTriHexagonWrapper
- Implements
- Inherited Members
- Extension Methods
Constructors
PointyTriHexagonWrapper(int)
public PointyTriHexagonWrapper(int side)
Parameters
sideint
Methods
Wrap(PointyTriPoint)
Returns a new point, that corresponds to the wrapped version of the give point.
public PointyTriPoint Wrap(PointyTriPoint point)
Parameters
pointPointyTriPoint