Circle

data class Circle(val center: Vec2 = Vec2.Zero, val radius: Float)

A solid circle shape geometry.

Parameters

center

The local center of the circle (relative to body position)

radius

The radius of the circle

Constructors

Link copied to clipboard
constructor(center: Vec2 = Vec2.Zero, radius: Float)

Properties

Link copied to clipboard
Link copied to clipboard