![]() |
vkmEngine 1.0.0
A C++ game engine · vkmengine.com
|
Holds the outstanding correction in the scene for one scope. More...
#include <net_session.h>
Public Member Functions | |
| Drawn (NetSession &session, Scene &scene, float deltaTime) | |
| Works a little of the correction off and applies the rest. | |
Holds the outstanding correction in the scene for one scope.
The simulation takes a correction at once; the picture takes it over a few frames. The offset is a position chosen to look right, so no tick may start from it: construct this only around the systems that read a transform to draw it.
| Vkm::Engine::NetSession::Drawn::Drawn | ( | NetSession & | session, |
| Scene & | scene, | ||
| float | deltaTime ) |
Works a little of the correction off and applies the rest.
| session | Holds what the picture owes. |
| scene | The world about to be drawn. |
| deltaTime | Frame seconds; how much is worked off. |