Player12
An open source football management simulator
Loading...
Searching...
No Matches
Stadium3D::Face Struct Reference

#include <match_stadium_3d.h>

Public Attributes

std::array< Vec3, 4 > corners {}
 
std::array< ImU32, 4 > colors {}
 
Vec3 normal
 
std::uint32_t clumpBegin = 0
 
std::uint32_t clumpEnd = 0
 
std::uint32_t flagBegin = 0
 
std::uint32_t flagEnd = 0
 
ImU32 glow = 0
 

Detailed Description

Planar convex face of a stand or floodlight with per-corner colours.

Member Data Documentation

◆ clumpBegin

std::uint32_t Stadium3D::Face::clumpBegin = 0

Crowd clumps drawn right after this face when it is visible.

◆ clumpEnd

std::uint32_t Stadium3D::Face::clumpEnd = 0

◆ colors

std::array<ImU32, 4> Stadium3D::Face::colors {}

◆ corners

std::array<Vec3, 4> Stadium3D::Face::corners {}

◆ flagBegin

std::uint32_t Stadium3D::Face::flagBegin = 0

Supporters' flags waved over this face's crowd.

◆ flagEnd

std::uint32_t Stadium3D::Face::flagEnd = 0

◆ glow

ImU32 Stadium3D::Face::glow = 0

Non-zero for floodlight heads: colour of the halo drawn on top.

◆ normal

Vec3 Stadium3D::Face::normal

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