collision. pointCircle

the point-circle collision object

Methods

(static) collide(point, circle, sizeopt) → {boolean}

returns true if the point is in the circle

Parameters:
NameTypeAttributesDefaultDescription
pointObject
circleObject
sizenumber<optional>
circle.size

size of the circle

Returns:
Type: 
boolean