point-circle-collision
Performs a point-circle collision test, returning true if they intersect.
var collide = var circle = 5 5 radius = 25 point = 5 6 var hit = console
You may also be interested in:
Usage
collide(point, circle, radius)
Performs a collision test with the given parameters. Returns true if collision occurred.
Point and circle are expected to be 2D vectors in the form of an array.
If the radius is zero, this test will return false.
License
MIT, see LICENSE.md for details.