bmoren / p5.collide2D

A collision detection library for 2D geometry in p5.js
Other
582 stars 296 forks source link

Incorrect Documentation for collideRectCircle at GitHub #12

Closed enriie closed 6 years ago

enriie commented 6 years ago

There is a type in p5.collide2D examples & documentation for collideRectCircle().

Here is the typo, collideRectRect(x, y, width, height, x2, y2, width2, height2 ), it should say, collideRectCircle(x1, y1, width1, height1, cx, cy, diameter). The example uses correct function.