Capsule

constructor(center1: Vec2, center2: Vec2, radius: Float)

Parameters

center1

Local center of the first semicircle

center2

Local center of the second semicircle

radius

The radius of the semicircles