Closed Squareys closed 8 years ago
Hah, sorry, this somehow completely slipped through my attention...
Now I think this would be a much better approach than having those "shape converters", considering I'm about to deprecate/remove the half-assedimplemented shapes library (https://github.com/mosra/magnum/issues/148).
We need to implement these methods of that interface:
Optionally:
Everything else is already implemented using the drawLine()
method. I suggest building a buffer with all the lines and then drawing that on flushLines()
. That buffer needs to be updated every frame, so that's not optimal, but it's only for debug rendering anyway.
Implemented via #21.
Hello everybody!
While working with Bullet for a bit, I found this btlDebugDraw class/interface which is supposed to be dervied with implementations for simple primitive drawing methods. It can then be attached to a
btCollisionWorld
orbtDynamicsWorld
for example, to provide fast and simple means of debug rendering.I suggest this could be a great thing to have in the BulletIntegration library, since its code would most likely be common for all Magnum apps which use bullet.
(This is in no way urgent and if I have time, I might event implement this myself later next year. Just wanted to put that out there for discussion.)
Greetings, Squareys