kellody
11-28-2001, 12:57 PM
Hey Guys,
Okay i'm having some emotional turmoil with my GlutTimerFunc. I have it in my animation function and my main so that it keeps calling itself forever. Here's the deal, I want to nest it in a for loop like this.
for(i=1; i < 10; i++)
{glutTimerFunc(blah, 53, 1);}
so that it will go through my animation algorithm a prescribed number of times. It appears that glut does not like for loops and never animates my object. What is the best solution to run an animation function a desired number of times.
Feeling Way Too Bimbo-ey!
Kelly
Okay i'm having some emotional turmoil with my GlutTimerFunc. I have it in my animation function and my main so that it keeps calling itself forever. Here's the deal, I want to nest it in a for loop like this.
for(i=1; i < 10; i++)
{glutTimerFunc(blah, 53, 1);}
so that it will go through my animation algorithm a prescribed number of times. It appears that glut does not like for loops and never animates my object. What is the best solution to run an animation function a desired number of times.
Feeling Way Too Bimbo-ey!
Kelly