Table of Contents

Method UpTriangle

Namespace
Gamelogic.Grids2
Assembly
Gamelogic.Grids2.dll

UpTriangle(Vector2, float)

Creates a 2D Up Triangle Shape using a Circle Shape with a UpTriangle Norm.

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

Parameters

center Vector2

Center point of the shape.

radius float

Radius for the sphere.

Returns

IImplicitShape<GridPoint2>

UpTriangle(float)

Creates a 2D UpTriangle shape.

public static IImplicitShape<GridPoint2> UpTriangle(float radius)

Parameters

radius float

Radius for the sphere.

Returns

IImplicitShape<GridPoint2>