Table of Contents

Method Square

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Square(Vector2, float)

Creates a 2D Square Shape using a Circle Shape with a Chebychev norm.

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

Parameters

center Vector2

Center point of the shape.

radius float

Radius for the sphere.

Returns

IImplicitShape<GridPoint2>

Square(float)

Creates a 2D Square Shape using a Circle Shape with a Chebychev norm.

public static IImplicitShape<GridPoint2> Square(float radius)

Parameters

radius float

Radius for the sphere.

Returns

IImplicitShape<GridPoint2>