PlayRho API Documentation
Overview
Hello and welcome to PlayRho's API documentation!
PlayRho is an interactive, real-time oriented, C++14 based, physics engine and library currently best suited for 2-dimensional games. To view its source code, please see: https://github.com/louis-langholtz/PlayRho . For issues, visit: https://github.com/louis-langholtz/PlayRho/issues . For mathemtical insight into how a physics engine works, see: Erin Catto's 2009 Modeling and Solving Constraints slides.
Getting Started
For coding, begin simply by including the PlayRho/PlayRho.hpp
header file and making an instance of the playrho::d2::World
class. Here's what this might look like:
#include <PlayRho/PlayRho.hpp>
int main()
{
auto world = playrho::d2::World{};
// do more things with the world instance and body pointer
return 0; // world and associated resources go away automatically
}
For a more elaborate example, see HelloWorld.cpp
.