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

#include <match_render_3d_tuning.h>

Static Public Attributes

static constexpr float SPIN_MAX_PER_FRAME = 0.7f
 
static constexpr float RADIUS = 0.11f
 
static constexpr float BOOST_START_DEPTH = 30.0f
 
static constexpr float BOOST_FULL_DEPTH = 110.0f
 
static constexpr float MAX_BOOST = 1.7f
 
static constexpr float MIN_PIXELS = 2.2f
 
static constexpr float SHADOW_RADIUS = 0.16f
 
static constexpr float SHADOW_GROWTH = 0.12f
 
static constexpr float SHADOW_FADE = 0.25f
 
static constexpr ImU32 COLOR = IM_COL32(244, 245, 248, 255)
 
static constexpr ImU32 SHADE_COLOR = IM_COL32(150, 156, 170, 255)
 
static constexpr ImU32 PATCH_COLOR = IM_COL32(40, 44, 56, 255)
 

Member Data Documentation

◆ BOOST_FULL_DEPTH

constexpr float MatchRender3DTuning::Ball::BOOST_FULL_DEPTH = 110.0f
staticconstexpr

◆ BOOST_START_DEPTH

constexpr float MatchRender3DTuning::Ball::BOOST_START_DEPTH = 30.0f
staticconstexpr

◆ COLOR

constexpr ImU32 MatchRender3DTuning::Ball::COLOR = IM_COL32(244, 245, 248, 255)
staticconstexpr

◆ MAX_BOOST

constexpr float MatchRender3DTuning::Ball::MAX_BOOST = 1.7f
staticconstexpr

◆ MIN_PIXELS

constexpr float MatchRender3DTuning::Ball::MIN_PIXELS = 2.2f
staticconstexpr

◆ PATCH_COLOR

constexpr ImU32 MatchRender3DTuning::Ball::PATCH_COLOR = IM_COL32(40, 44, 56, 255)
staticconstexpr

◆ RADIUS

constexpr float MatchRender3DTuning::Ball::RADIUS = 0.11f
staticconstexpr

Real radius (0.22 m ball); boosted only when far for readability.

◆ SHADE_COLOR

constexpr ImU32 MatchRender3DTuning::Ball::SHADE_COLOR = IM_COL32(150, 156, 170, 255)
staticconstexpr

◆ SHADOW_FADE

constexpr float MatchRender3DTuning::Ball::SHADOW_FADE = 0.25f
staticconstexpr

◆ SHADOW_GROWTH

constexpr float MatchRender3DTuning::Ball::SHADOW_GROWTH = 0.12f
staticconstexpr

◆ SHADOW_RADIUS

constexpr float MatchRender3DTuning::Ball::SHADOW_RADIUS = 0.16f
staticconstexpr

◆ SPIN_MAX_PER_FRAME

constexpr float MatchRender3DTuning::Ball::SPIN_MAX_PER_FRAME = 0.7f
staticconstexpr

Visual spin: panels turn with the ground covered, capped per frame so fast balls never strobe.


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