2021-12-15 10:07:46 +00:00
|
|
|
#include "hw_sections.h"
|
2021-12-08 18:17:45 +00:00
|
|
|
|
2021-12-15 11:01:14 +00:00
|
|
|
extern TArray<Section*> sections2;
|
|
|
|
extern TArrayView<TArrayView<Section*>> sections2PerSector;
|
2021-12-09 19:44:04 +00:00
|
|
|
|
2021-12-11 22:00:38 +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.
|
2021-12-15 11:01:14 +00:00
|
|
|
Outline BuildOutline(Section* section);
|