josephg / Chipmunk-js

Port of slembcke/Chipmunk-Physics to Javascript
http://dl.dropbox.com/u/2494815/demo/Joints.html
536 stars 59 forks source link

BBTree 'count' property overrides 'count' method #37

Open haynesgt opened 6 years ago

haynesgt commented 6 years ago

https://github.com/josephg/Chipmunk-js/blob/master/lib/cpBBTree.js#L33

this.count = 0;

https://github.com/josephg/Chipmunk-js/blob/master/lib/cpBBTree.js#L617

BBTree.prototype.count = function()

I'm sure it can't be both.