bmoren / p5.collide2D

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

Fix collidePointArc and update minified version #9

Closed davidgranstrom closed 7 years ago

davidgranstrom commented 7 years ago

Looks like angleBetween was recently updated in p5.js to an be an instance method and p5.Vector.angleBetween now seems to be undefined. I ran into this issue when trying to use the collidePointArc method of this library.

I've tested it locally and it is working, but someone should probably double check that the math is still correct before merging.

Closes #8

bmoren commented 7 years ago

@ognjenvucko can you check this out?

ognjenvucko commented 7 years ago

@bmoren yes ofc :) today or tomorrow latest.

bmoren commented 7 years ago

thank you!

ognjenvucko commented 7 years ago

@bmoren @davidgranstrom Yes, angleBetween has become instance method as of this commit. All fine, we should merge this :)

bmoren commented 7 years ago

thank you @davidgranstrom && @ognjenvucko!