Click or drag to resize

AlgorithmsRotate180About Method (IEnumerablePointyHexPoint, PointyHexPoint, PointyHexPoint)

Rotates a shape 180 degrees around the edge shared by the two given points. The two points must be neighbors.

Namespace:  Gamelogic.Grids
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public static IEnumerable<PointyHexPoint> Rotate180About(
	IEnumerable<PointyHexPoint> shape,
	PointyHexPoint p1,
	PointyHexPoint p2
)

Parameters

shape
Type: System.Collections.GenericIEnumerablePointyHexPoint
p1
Type: Gamelogic.GridsPointyHexPoint
p2
Type: Gamelogic.GridsPointyHexPoint

Return Value

Type: IEnumerablePointyHexPoint
See Also