Adding a timer

A solution for the problem of changing the render mode too fast is the use of a timer. Each time we press the R key, a timer is started, and only after enough time has passed, will we process another R key press.

Get Ogre 3D 1.7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.