Table of Contents

Method Star

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Star(Vector2, float)

Creates a 2D Star Shape using a Circle Shape with a Star Norm.

public static IImplicitShape<GridPoint2> Star(Vector2 center, float radius)

Parameters

center Vector2

Center point of the shape.

radius float

Radius of the shape.

Returns

IImplicitShape<GridPoint2>

Star(float)

Creates a 2D Star Shape using a Circle Shape with a Star Norm.

public static IImplicitShape<GridPoint2> Star(float radius)

Parameters

radius float

Radius of the shape.

Returns

IImplicitShape<GridPoint2>