Damn, that last bug was one elusive fucker, glad that's sorted out!
I was not properly removing pooled contacts from the contactPool when reusing them.
That means I got my first working version of my box2d port!Source code is here!
Dynamic Tree Broadphase!
It actually works and collides and stuff!
Did I mention it actually works?
Well, it also has Circle-Circle collisions!
Now I still need to implemented polygon and edge-shapes, continuous collision detection and eventually joints (though I don't care much about ccd or joints).
Well, I'm not touching this anymore till tomorrow because I'm sure there are other bugs waiting for me.
Good night tigs