ofxBox2d
ofxBox2d copied to clipboard
Openframework wrapper for box2d
- ofxBox2dRect: added get and set rectangle functions. - ofxBox2dCircle: added getRect() function. - ofxBox2dBaseShape: using ofIsFloatEqual to check float value equality. Recalculating mass data when setting density.
When I import the ComplexPolygon example into QtCreator, a few errors come up, like: `ofApp.cpp:56:3: error: cannot initialize object parameter of type 'ofxBox2dBaseShape' with an expression of type 'std::__shared_ptr_access::element_type' (aka...
It would be great to have an example that showed how to have **ofxBox2d** interact with **ofxOpenCv**. Most of the examples that are out there are old and no longer...
I've added in ofxBox2dRevoluteJoint. I'm guessing from the fact that there's a jointType member in ofxBox2dJoint that you had intended that class to encapsulate all joints but seemed to make...
hey @vanderlin & @kylemcdonald, ive unified mouse and touch joints, and extended to support any number of touches (previously max limit was 5). this will be good for touch screen...
a tiny fix. std::ifstream instead of ifstream
Adds `#include "cstdio"` to `b2Polygon.h`.
https://github.com/erincatto/box2d Hype! https://github.com/erincatto/box2d/blob/main/docs/migration.md ``` Migration Guide Version 2.4 to Version 3.0 Box2D version 3.0 is a full rewrite. You can read some background information [here](https://box2d.org/posts/2023/01/starting-box2d-3.0/). Here are the highlights that...