glut and box2d finally work together

| No Comments | No TrackBacks
glutTimerFunc() and world.Step() works fine, thanks to Tim Chan and his demo.

link:  http://www.box2d.org/forum/viewtopic.php?f=5&t=158

there is another problem with shape and body.(when I draw using body->getposition, it works well, but when I draw using shape->getverices, works weird, but it shouldn't be like that, I mean, drawing and physics simulation don't interfere with each other)
box2d seems to work in a strange way, or is it my mistake..

I m gonna find that out.

No TrackBacks

TrackBack URL: https://blogs.psu.edu/mt4/mt-tb.cgi/56036

Leave a comment

About this Entry

This page contains a single entry by HUAIDONG WANG published on March 27, 2009 8:15 PM.

more gap to be filled was the previous entry in this blog.

sat work log (03/28/09) is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Subscribe

Powered by Movable Type 4.23-en