vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::NetSession::Drawn Class Reference

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.

Detailed Description

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.

Constructor & Destructor Documentation

◆ Drawn()

Vkm::Engine::NetSession::Drawn::Drawn ( NetSession & session,
Scene & scene,
float deltaTime )

Works a little of the correction off and applies the rest.

Parameters
sessionHolds what the picture owes.
sceneThe world about to be drawn.
deltaTimeFrame seconds; how much is worked off.

The documentation for this class was generated from the following file: