Skip to content

This is an attempt to modernize the Box2d physics engine to comply with the newer c++ standards as well as improving exception safety and namespace usage.

License

Notifications You must be signed in to change notification settings

ilektron/box2dpp

Repository files navigation

Efforts in improving Box2D library

  • x Create b2 or b2dpp namespace
  • x clang-format
  • x clang-modernize
    • ranged for loops
    • nullptr
    • etc
  • Better object create (utilizing move semantics?)
  • Better scope
    • only private data members
    • get/set methods
  • Examine allocators
  • Switch to vectors where applicable
  • Initializer lists for major objects
  • enum naming
  • gtest
  • Profiling

ofxBox2DBasic using box2d11 Use cmake for openFrameworks

regex replacements 1. \bb2Vec2(\W*([0-9.f-]+\W*,\W*[0-9.f-]+)) {{\1}} 2. \b.Set(\W*([0-9.f-]+\W*,\W*[0-9.f-]+)) = {{\1}}

About

This is an attempt to modernize the Box2d physics engine to comply with the newer c++ standards as well as improving exception safety and namespace usage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published