Reverting to simple sample from Box2D C++ manual due to API changes.