raze/source/core/rendering/hw_sections2.h

11 lines
385 B
C
Raw Normal View History

#include "hw_sections.h"
2021-12-08 18:17:45 +00:00
extern TArray<Section*> sections2;
extern TArrayView<TArrayView<Section*>> sections2PerSector;
2021-12-09 19:44:04 +00:00
void hw_CreateSections2();
using Outline = TArray<TArray<vec2_t>>;
using Point = std::pair<float, float>;
using FOutline = std::vector<std::vector<Point>> ; // Data type was chosen so it can be passed directly into Earcut.
Outline BuildOutline(Section* section);