Click or drag to resize

AlgorithmsRotate240About Method (IEnumerablePointyHexPoint, PointyHexPoint, PointyHexPoint, PointyHexPoint)

Rotates a shape 240 degrees around the vertice shared by the three given points. The three points must form a close triangle (they must share a vertex).

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

Parameters

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

Return Value

Type: IEnumerablePointyHexPoint
See Also