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

#include <match_render_3d_tuning.h>

Static Public Attributes

static constexpr float DEFAULT_YAW = 1.5707963f
 
static constexpr float DEFAULT_PITCH = 0.5f
 
static constexpr float DEFAULT_DISTANCE = 78.0f
 
static constexpr float FOV = 0.52f
 
static constexpr float MIN_PITCH = 0.07f
 
static constexpr float MAX_PITCH = 1.45f
 
static constexpr float MIN_DISTANCE = 6.0f
 
static constexpr float MAX_DISTANCE = 170.0f
 
static constexpr float TARGET_MARGIN = 8.0f
 
static constexpr float MAX_TARGET_HEIGHT = 3.0f
 
static constexpr float EYE_MIN_X = -34.0f
 
static constexpr float EYE_MAX_X = 139.0f
 
static constexpr float EYE_MIN_Y = -34.0f
 
static constexpr float EYE_MAX_Y = 102.0f
 
static constexpr float ORBIT_RADIANS_PER_PIXEL = 0.0065f
 
static constexpr float RESPONSE_RATE = 14.0f
 

Detailed Description

User orbit camera: angles radians, distances metres.

Member Data Documentation

◆ DEFAULT_DISTANCE

constexpr float MatchRender3DTuning::Free::DEFAULT_DISTANCE = 78.0f
staticconstexpr

◆ DEFAULT_PITCH

constexpr float MatchRender3DTuning::Free::DEFAULT_PITCH = 0.5f
staticconstexpr

◆ DEFAULT_YAW

constexpr float MatchRender3DTuning::Free::DEFAULT_YAW = 1.5707963f
staticconstexpr

◆ EYE_MAX_X

constexpr float MatchRender3DTuning::Free::EYE_MAX_X = 139.0f
staticconstexpr

◆ EYE_MAX_Y

constexpr float MatchRender3DTuning::Free::EYE_MAX_Y = 102.0f
staticconstexpr

◆ EYE_MIN_X

constexpr float MatchRender3DTuning::Free::EYE_MIN_X = -34.0f
staticconstexpr

A low eye stays within the stadium (the gantry rows included).

◆ EYE_MIN_Y

constexpr float MatchRender3DTuning::Free::EYE_MIN_Y = -34.0f
staticconstexpr

◆ FOV

constexpr float MatchRender3DTuning::Free::FOV = 0.52f
staticconstexpr

◆ MAX_DISTANCE

constexpr float MatchRender3DTuning::Free::MAX_DISTANCE = 170.0f
staticconstexpr

◆ MAX_PITCH

constexpr float MatchRender3DTuning::Free::MAX_PITCH = 1.45f
staticconstexpr

◆ MAX_TARGET_HEIGHT

constexpr float MatchRender3DTuning::Free::MAX_TARGET_HEIGHT = 3.0f
staticconstexpr

◆ MIN_DISTANCE

constexpr float MatchRender3DTuning::Free::MIN_DISTANCE = 6.0f
staticconstexpr

◆ MIN_PITCH

constexpr float MatchRender3DTuning::Free::MIN_PITCH = 0.07f
staticconstexpr

Pitch never dips below ~4 degrees nor goes past ~83 degrees.

◆ ORBIT_RADIANS_PER_PIXEL

constexpr float MatchRender3DTuning::Free::ORBIT_RADIANS_PER_PIXEL = 0.0065f
staticconstexpr

Orbit radians per logical pixel dragged.

◆ RESPONSE_RATE

constexpr float MatchRender3DTuning::Free::RESPONSE_RATE = 14.0f
staticconstexpr

How quickly the view catches up with the user's input (1/s).

◆ TARGET_MARGIN

constexpr float MatchRender3DTuning::Free::TARGET_MARGIN = 8.0f
staticconstexpr

The target stays over the pitch and its surrounds.


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