Jump to content
Site Stability Read more... ×
  • Advertisement
Sign in to follow this  

glutIdleFunc animation

Recommended Posts

is there anyway to slow down the animation speed using glutIdleFunc function?

void collision()
	screen += 0.1667f;

	if (screen >= 1.0f)
		screen = 1.0f;

I have solved my previous problem.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!