码迷,mamicode.com
首页 > 其他好文 > 详细

About Timer of Game Engine

时间:2014-12-26 21:33:04      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:

FPS 60 time interval:0.01666666666666666666666666666667s

FPS 59 time interval:0.01694915254237288135593220338983s

difference value:0.00028248587570621468926553672316s

so 0.001s clock can‘t distinguish the difference between FPS 60 and FPS 59

clock() from C standard library and GetTickCount() of Win32 API  both become useless...

About Timer of Game Engine

标签:

原文地址:http://www.cnblogs.com/faeriesoft/p/4187562.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!