ShapeCircle
Defined in: src/modules/collision/shape-circle.ts:13
Circle shape. Anchored at PositionDef.{x,y} as the circle’s centre
— matches the asteroids convention where rocks, bullets, and the
ship all spin/move around their centre point.
radius is in the same units as PositionDef and must be
non-negative.
Properties
Section titled “Properties”radius
Section titled “radius”radius:
number
Defined in: src/modules/collision/shape-circle.ts:14