Ok so Kcaz is here again, and this time I've learned about GLUT, and I already know box2D from flash. However, I don;t know how to combine them. There are no tutorials what so ever, and the sample code isn't much help. They should at least include the hello world example with SOME GLUT rendering.
So I have searched google, but found nothing on how Box2D uses OpenGL and GLUT to render the images. AS far as I can guess, I would think you could draw shapes for an object, then have it follow the invisible objects position.
In Flash, the debug draw is included, and all you have to do tell Flash you're using Box2D debug draw, then add the bodies to use debug draw. How do you do it in C++?
So I have searched google, but found nothing on how Box2D uses OpenGL and GLUT to render the images. AS far as I can guess, I would think you could draw shapes for an object, then have it follow the invisible objects position.
In Flash, the debug draw is included, and all you have to do tell Flash you're using Box2D debug draw, then add the bodies to use debug draw. How do you do it in C++?