Giter Site home page Giter Site logo

lv80 / box2d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from expl0it3r/box2d

0.0 1.0 0.0 128.2 MB

Box2D is an open source C++ engine for simulating rigid bodies in 2D. Box2D is developed by Erin Catto and has the zlib license.

License: zlib License

C++ 91.36% C 0.49% C# 2.24% CMake 1.61% Objective-C 1.11% Objective-C++ 3.18%

box2d's Introduction

Box2D for C++

Box2D is a 2D physics engine mostly targeted towards games.

For help regarding Box2D's features, please visit the official website, where you can also find the official forum. For problems related to this port, you may contact me at [email protected] or create an issue on the tracker.

About this Port

The main motivation behind this port is to provide a true C++ version of Box2D as opposed to the current C-like Box2D and make the CMake build system more flexible.

Notice: Since this port will be kept in sync with the Git repository, the master branch will receive forced pushes.

Here, I'll list the changes and the progress:

  • Restructure the directory layout
  • Update the CMake build system
  • Add a true namespace and remove the b2 prefixes
  • Replace preprocessor constants with C++ constants
  • Use C++ headers instead of C headers
  • Update the "Hello World" example
  • Update the "Testbed" example
  • Rebase onto the new Git repository
  • Adjust the build system to properly work with Visual Studios
  • Add Doxygen documentation generation to CMake

Hints for the Testbed

Some test bed commands are:

  • 'r' to reset the current test
  • SPACE to launch a bomb
  • arrow keys to pan
  • 'x' and 'z' to zoom in/out
  • use the mouse to click and drag objects

License

As the original Box2D this port is released under the zlib/libpng license, see the LICENSE file.

Credits

Erin Catto

http://www.box2d.org

https://github.com/erincatto/box2d

box2d's People

Contributors

antkillerfarm avatar erincatto avatar expl0it3r avatar flyover avatar zammitjames avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.