raze/source/core/rendering/hw_sections2.h
Christoph Oelckers 37e49ed775 After this any old mesh has become invalid and needs to be rebuilt.
- use only one Section type.
2021-12-30 09:53:09 +01:00

10 lines
385 B
C++

#include "hw_sections.h"
extern TArray<Section*> sections2;
extern TArrayView<TArrayView<Section*>> sections2PerSector;
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);