Original Post
hi everone,
here''s some source to show my problem.
the problem is I can either draw the bomb or the enemy but not both. How do I do this in opengl?
Thanks,
Joe
JoeMont001@aol.com
...
glLoadIdentity();
glTranslatef(world_x,world_y,world_z);
drawScene(); //draw the world
glTranslatef(bomb_x, bomb_y,bomb_z);
drawBomb(); //draw one bomb (everything ok so far)
glTranslatef(enemy_x, enemy_y, enemy_z);
drawEnemy(); won''t translate to right position
|