vanderlin / ofxBox2d

Openframework wrapper for box2d
zlib License
320 stars 122 forks source link

updates for latest OF & a few bug fixes #105

Closed danomatika closed 8 years ago

danomatika commented 8 years ago

Updates

Updated all examples. Renamed testApp to ofApp. Regenerated Xcode projects. A bunch of whitespace consistency fixes.

Fixes

Fixed deprecations with latest OF.

Added an add-on_config.make with the -DNO_TIMER define needed to build the triangle lib in Visual Studio aka #49.

Added body getWorldPosition() to fix #99. Tested and works as desired.

Suggestion

Since testApp is now ofApp, the project files for the other platforms need to be regenerated as well. At this point, the ProjectGenerator is pretty reliable so I suggest we remove all the project files. People can simply generate them with the PG. This works very well for my addons since I don't have to keep the project files up to date myself.

If desired, I can do go ahead and remove them in another commit to this PR.

danomatika commented 8 years ago

Pinging @kylemcdonald @NickHardeman @ilektron @danoli3

kylemcdonald commented 8 years ago

going to merge this immediately, going to wait a little longer before completely removing the project files. my feeling is that people are still learning to rely on the PG.

danomatika commented 8 years ago

We will need to regenerate the VS & CB files then. I haven't had any issues yet with people using the PG, mainly since I include information on how to use it.

danoli3 commented 8 years ago

I tested the changes today! Looks great! Thanks @danomatika