Bullet debug drawer with OpenGL

試著忘記壹切 提交于 2019-12-04 19:06:57

There is a simple set of code available at http://sio2interactive.forumotion.net/t599-enabling-bullet-debug-draw-code-included which should be relatively straightforward to use to modify your code, looks like you may need to change bt_dynamicsWorld->setDebugDrawer(debugDraw); to bt_dynamicsWorld->setDebugDrawer(&debugDraw); (not sure though as don't know how you have your framework setup.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!