Table of Contents

Method Square

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

Square(Vector2, float)

Returns a new square shape.

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

Parameters

center Vector2
radius float

Returns

IExplicitShape<GridPoint2>