Time calculation between openGL update calls.
Posted
by
Vijayendra
on Game Development
See other posts from Game Development
or by Vijayendra
Published on 2011-06-26T18:39:28Z
Indexed on
2011/06/27
0:31 UTC
Read the original article
Hit count: 338
In XNA, the system calls update and draw function with the time information. This contains information such as how much time has passed since last update was called. This makes easy to integrate time and do animation calculation accordingly. But I dont see any such mechanism in openGL. I see openGL requires programmers to have their own implementation which could be buggy or inefficient. Is there any standard (and efficient) code that demonstrate this practice in openGL?
© Game Development or respective owner