Table of Contents

Method DownTriangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

DownTriangle(Vector2, float)

Creates a 2D Down Triangle Shape using a Circle Shape with a DownTriangle Norm.

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

Parameters

center Vector2

Center point of the shape.

radius float

Radius for the sphere.

Returns

IImplicitShape<GridPoint2>

DownTriangle(float)

Creates a 2D Down Triangle Shape using a Down Triangle Norm.

public static IImplicitShape<GridPoint2> DownTriangle(float radius)

Parameters

radius float

Radius for the sphere.

Returns

IImplicitShape<GridPoint2>