Method Square
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
Returns
Square(float)
Creates a 2D Square Shape using a Circle Shape with a Chebychev norm.
public static IImplicitShape<GridPoint2> Square(float radius)Parameters
- radiusfloat
- Radius for the sphere.