isPolygonAndCircle

Check collision between polygon and circle.

@safe nothrow pure
bool
isPolygonAndCircle
(,,
float r
)

Parameters

first Vecf[]

Polygon vertices.

second Vecf

The position of the center of the circle.

r float

Circle radius.

Meta