Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRender2DTuning::Pressure Struct Referencefinal

#include <match_render_2d_tuning.h>

Static Public Attributes

static constexpr int COLUMNS = 21
 
static constexpr int ROWS = 14
 
static constexpr float REACH_METRES = 7.0f
 
static constexpr float LOOKAHEAD_SECONDS = 0.5f
 
static constexpr float RESPONSE_RATE = 4.0f
 
static constexpr float MAX_ALPHA = 118.0f
 

Detailed Description

Pitch-control overlay: who would reach each spot first.

Member Data Documentation

◆ COLUMNS

constexpr int MatchRender2DTuning::Pressure::COLUMNS = 21
staticconstexpr

◆ LOOKAHEAD_SECONDS

constexpr float MatchRender2DTuning::Pressure::LOOKAHEAD_SECONDS = 0.5f
staticconstexpr

Players are projected this far ahead along their run (s).

◆ MAX_ALPHA

constexpr float MatchRender2DTuning::Pressure::MAX_ALPHA = 118.0f
staticconstexpr

◆ REACH_METRES

constexpr float MatchRender2DTuning::Pressure::REACH_METRES = 7.0f
staticconstexpr

Influence falls to half at this distance (metres).

◆ RESPONSE_RATE

constexpr float MatchRender2DTuning::Pressure::RESPONSE_RATE = 4.0f
staticconstexpr

◆ ROWS

constexpr int MatchRender2DTuning::Pressure::ROWS = 14
staticconstexpr

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