UNPKG

intersects

Version:

a simple collection of 2d collision/intersects functions, supporting points, circles, circle outlines (circumference), lines, axis-aligned boxes, and polygons (convex)

9 lines (6 loc) 164 B
'use strict' var circlePoint = require('./circle-point') module.exports = function pointCircle(x1, y1, xc, yc, rc) { return circlePoint(xc, yc, rc, x1, y1) }