|
group2 0.1.0
CSE 125 Group 2
|
Copy of Position from the previous physics tick, used for render interpolation. More...
#include <PreviousPosition.hpp>
Public Attributes | |
| glm::vec3 | value {0.0f, 0.0f, 0.0f} |
| World-space position from the previous tick. | |
Copy of Position from the previous physics tick, used for render interpolation.
Written by the game loop immediately before each physics step:
Read by the renderer to interpolate between ticks:
| glm::vec3 PreviousPosition::value {0.0f, 0.0f, 0.0f} |
World-space position from the previous tick.