|
Player12
An open source football management simulator
|
Go to the source code of this file.
Classes | |
| struct | MatchRenderPlayer |
| struct | MatchRenderBall |
| struct | MatchRenderSnapshot |
Functions | |
| void | fillMatchRenderSnapshot (const MatchEngine &engine, MatchRenderSnapshot &snapshot) |
| MatchRenderSnapshot | buildMatchRenderSnapshot (const MatchEngine &engine) |
| Vector2F | lerpRenderPosition (Vector2F first, Vector2F second, float alpha) |
|
inline |
Builds a read-only render snapshot from a live engine.
|
inline |
Refills snapshot from a live engine, reusing its storage so a view that keeps one snapshot allocates nothing per frame.