Player12
An open source football management simulator
Loading...
Searching...
No Matches
match_stadium_3d.cpp File Reference
#include "gui/render/match_stadium_3d.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <numbers>
#include "gui/render/match_render_3d_tuning.h"

Namespaces

namespace  Stadium3D
 

Functions

Box Stadium3D::makeAxisBox (Vec3 minimum, Vec3 maximum, ImU32 color)
 

Variable Documentation

◆ awayEnd

bool awayEnd = false

◆ d

float d = 0.0f

◆ day

bool day = false
private

◆ geometry

Geometry& geometry
private

◆ kits

const MatchKits& kits
private

◆ leftOrigin

Vec3 leftOrigin

◆ leftStep

Vec3 leftStep

◆ outward

Vec3 outward

Horizontal unit vector pointing away from the pitch.

◆ rightOrigin

Vec3 rightOrigin

◆ rightStep

Vec3 rightStep

◆ run

float run = 1.0f

Horizontal distance along outward per metre of depth.

◆ sectionCounter

std::uint32_t sectionCounter = 0
private

◆ side

Side side = Side::NONE

◆ z

float z = 0.0f