43 float& screenY)
const override;
55 float availableWidth,
float availableHeight);
62 int homeScore,
int awayScore,
63 float celebrationRemaining,
float celebrationDuration);
Definition imatch_renderer.h:97
Definition match_renderer_2d.h:30
MatchRenderer2D & operator=(const MatchRenderer2D &)=delete
void render(const MatchRenderSnapshot &snapshot, const MatchRenderOptions &options, const MatchViewport &viewport) override
Definition match_renderer_2d.cpp:1604
MatchRenderer2D(const MatchRenderer2D &)=delete
bool projectPitch(Vector2F pitch, float heightMetres, float &screenX, float &screenY) const override
Definition match_renderer_2d.cpp:1592
~MatchRenderer2D() override
MatchRenderer2D()
Definition match_renderer_2d.cpp:1588
std::unique_ptr< State > state
Definition match_renderer_2d.h:47
MatchRenderer2D(MatchRenderer2D &&)=delete
MatchRenderer2D & operator=(MatchRenderer2D &&)=delete
PlayerIntent
Definition match_engine.h:64
void drawGoalCelebration(ImDrawList &drawList, const MatchViewport &viewport, int homeScore, int awayScore, float celebrationRemaining, float celebrationDuration)
Definition match_renderer_2d.cpp:1536
MatchViewport computeMatchViewport(float topLeftX, float topLeftY, float availableWidth, float availableHeight)
Definition match_renderer_2d.cpp:1520
const char * playerIntentLabel(PlayerIntent intent)
Definition match_renderer_2d.cpp:1483
Definition imatch_renderer.h:66
Definition match_render_snapshot.h:89
Definition match_renderer_2d.cpp:154
Definition imatch_renderer.h:17
A simple 2D float vector for pitch coordinates.
Definition types.h:84