So it is possible that the render is at about 10.3 . The ' interpolation ' value then holds 0.3 .
所以这个渲染应该是在第10.3个时刻,这个“插补”的值会持续0.3个时刻。
This promises to provide a more nuanced heat map than presented in the existing compilations , which either consign an average temperature to an area defined by a grid square or , in the case of nasa , attempt a less ambitious interpolation .
And this is where interpolation and a prediction function can provide a solution .
而这就是插值和预报函数能提供的解决方案。
The interpolation / prediction method will create the visual appeal that the game is actually running at a high frame rate .
插值/预报方法会创建虚拟请求让游戏实际运行在更高的帧速率下。
But unfortunately , the display_game function gets more complex . You will have to implement a prediction function that takes the interpolation as argument .
但不幸的是,display_game函数会变得复杂,你需要实现一个以插值作为参数的预报函数。
The gamestate gets updated 25 times per second , so if you don 't use interpolation in your rendering , frames will also be displayed at this speed .