Hi,
I’m using Glut and…
I’m trying to do some basic animation:
I have a cube and I would like it to
move smoothly upwards,
then once there move right;
then move back down to the original height;
finally it should move back to it’s starting position.
X----------X
| |
| |
X----------X
I must be really thick as I cannot see how to use the idlefunction to do
this, all I manage is to get it to move upwards slowly to a certain point
then I cannot get to to come down again, as I’m fighting against the
idlefunction…
ideas??
thanks
Greg