|
Player12
An open source football management simulator
|
#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) |
| bool awayEnd = false |
| float d = 0.0f |
|
private |
|
private |
|
private |
| Vec3 leftOrigin |
| Vec3 leftStep |
| Vec3 outward |
Horizontal unit vector pointing away from the pitch.
| Vec3 rightOrigin |
| Vec3 rightStep |
| float run = 1.0f |
Horizontal distance along outward per metre of depth.
|
private |
| Side side = Side::NONE |
| float z = 0.0f |