The b2World::DrawDebugData method should be made const, because drawing
something should never modify anything. It would also be compatible with SFMLs
const draw() method specified in the sf::Drawable interface.
Also the DrawShape method and the DrawJoint method must also be made const. In
line 1201 in b2World.cpp, there is a pointer to a b2BroadPhase. This pointer
also needs to be const.
- patrick246
Original issue reported on code.google.com by patricks...@gmx.net on 3 Oct 2013 at 5:04
Original issue reported on code.google.com by
patricks...@gmx.net
on 3 Oct 2013 at 5:04