Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRender3DTuning::Markings Struct Referencefinal

#include <match_render_3d_tuning.h>

Static Public Attributes

static constexpr float LINE_WIDTH = 0.12f
 
static constexpr float PENALTY_AREA_DEPTH = 16.5f
 
static constexpr float PENALTY_AREA_WIDTH = 40.32f
 
static constexpr float GOAL_AREA_DEPTH = 5.5f
 
static constexpr float GOAL_AREA_WIDTH = 18.32f
 
static constexpr float PENALTY_SPOT_DISTANCE = 11.0f
 
static constexpr float CIRCLE_RADIUS = 9.15f
 
static constexpr float CORNER_ARC_RADIUS = 1.0f
 
static constexpr float SPOT_RADIUS = 0.22f
 
static constexpr int CIRCLE_SEGMENTS = 56
 
static constexpr int PENALTY_ARC_SEGMENTS = 18
 
static constexpr int CORNER_ARC_SEGMENTS = 6
 
static constexpr int SPOT_SEGMENTS = 8
 
static constexpr ImU32 COLOR = IM_COL32(242, 244, 240, 228)
 

Detailed Description

Official pitch markings (Laws of the Game), metres.

Member Data Documentation

◆ CIRCLE_RADIUS

constexpr float MatchRender3DTuning::Markings::CIRCLE_RADIUS = 9.15f
staticconstexpr

◆ CIRCLE_SEGMENTS

constexpr int MatchRender3DTuning::Markings::CIRCLE_SEGMENTS = 56
staticconstexpr

◆ COLOR

constexpr ImU32 MatchRender3DTuning::Markings::COLOR = IM_COL32(242, 244, 240, 228)
staticconstexpr

◆ CORNER_ARC_RADIUS

constexpr float MatchRender3DTuning::Markings::CORNER_ARC_RADIUS = 1.0f
staticconstexpr

◆ CORNER_ARC_SEGMENTS

constexpr int MatchRender3DTuning::Markings::CORNER_ARC_SEGMENTS = 6
staticconstexpr

◆ GOAL_AREA_DEPTH

constexpr float MatchRender3DTuning::Markings::GOAL_AREA_DEPTH = 5.5f
staticconstexpr

◆ GOAL_AREA_WIDTH

constexpr float MatchRender3DTuning::Markings::GOAL_AREA_WIDTH = 18.32f
staticconstexpr

◆ LINE_WIDTH

constexpr float MatchRender3DTuning::Markings::LINE_WIDTH = 0.12f
staticconstexpr

The Laws cap line width at 12 cm.

◆ PENALTY_ARC_SEGMENTS

constexpr int MatchRender3DTuning::Markings::PENALTY_ARC_SEGMENTS = 18
staticconstexpr

◆ PENALTY_AREA_DEPTH

constexpr float MatchRender3DTuning::Markings::PENALTY_AREA_DEPTH = 16.5f
staticconstexpr

◆ PENALTY_AREA_WIDTH

constexpr float MatchRender3DTuning::Markings::PENALTY_AREA_WIDTH = 40.32f
staticconstexpr

◆ PENALTY_SPOT_DISTANCE

constexpr float MatchRender3DTuning::Markings::PENALTY_SPOT_DISTANCE = 11.0f
staticconstexpr

◆ SPOT_RADIUS

constexpr float MatchRender3DTuning::Markings::SPOT_RADIUS = 0.22f
staticconstexpr

◆ SPOT_SEGMENTS

constexpr int MatchRender3DTuning::Markings::SPOT_SEGMENTS = 8
staticconstexpr

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