the point-circle collision object
- Source
Methods
(static) collide(point, circle, sizeopt) → {boolean}
returns true if the point is in the circle
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
point | Object | |||
circle | Object | |||
size | number | <optional> | circle.size | size of the circle |
- Source
Returns:
- Type:
- boolean