Find the intersections between a circle and a circle.

function intersectCircleCircle(
  c1: VecLike,
  r1: number,
  c2: VecLike,
  r2: number
): Vec[]
Parameters
NameDescription

c1

VecLike

The first circle's center.

r1

number

The first circle's radius.

c2

VecLike

The second circle's center.

r2

number

The second circle's radius.

Returns
Vec[]
HTMLContainerintersectCirclePolygon