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

#include <match_stadium_3d.h>

Public Attributes

std::array< Vec3, 10 > points {}
 
std::array< ImU32, 10 > colors {}
 
std::uint8_t count = 0
 

Detailed Description

Convex ground polygon (drawn in fixed order, no depth sorting). Drawn without anti-aliasing it is a fan from the first point, so a centre followed by a closed rim gives a radial gradient.

Member Data Documentation

◆ colors

std::array<ImU32, 10> Stadium3D::GroundPolygon::colors {}

◆ count

std::uint8_t Stadium3D::GroundPolygon::count = 0

◆ points

std::array<Vec3, 10> Stadium3D::GroundPolygon::points {}

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