OK, so here is what I have:
I started with the helloworld example, and my goal was to actually render the bodies to the screen using the debugDraw and GLUT.
So I started with the hello World example. I then created a GLUT window, so far so good. Then I looked at the manual and it said in order to use the debugDraw, I needed to first create the class (I just copied the testbed's files), then create a debugDraw variable, then say
By the way, I have all this besides the debugdraw class in one file. I'm not a very experienced c++ programmer, so what's the difference between
In my program, the latter was the one that worked. So I have everything working, i run the program, and I get:

I'm running in Xcode on Mac OS 10.5.6.
What is wrong?
Here is my main file: http://www.2shared.com/file/5253362/545fe9e6/HelloWorld.html
(The download link is in the bottom right corner) :p
Thanks so much,
Kcaz
I started with the helloworld example, and my goal was to actually render the bodies to the screen using the debugDraw and GLUT.
So I started with the hello World example. I then created a GLUT window, so far so good. Then I looked at the manual and it said in order to use the debugDraw, I needed to first create the class (I just copied the testbed's files), then create a debugDraw variable, then say
Code:
m_world.SetDebugDraw(m_debugDraw);
By the way, I have all this besides the debugdraw class in one file. I'm not a very experienced c++ programmer, so what's the difference between
Code:
m_world->SetDebugDraw
and Code:
m_world.SetDebugDraw
In my program, the latter was the one that worked. So I have everything working, i run the program, and I get:
I'm running in Xcode on Mac OS 10.5.6.
What is wrong?
Here is my main file: http://www.2shared.com/file/5253362/545fe9e6/HelloWorld.html
(The download link is in the bottom right corner) :p
Thanks so much,
Kcaz