首页 > 其他 > 详细

About Timer of Game Engine

时间:2014-12-26 21:31:35      阅读:298      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!