#pragma once
#include "main.h"
#include "model.h"
struct PolygonCache
{
	std::vector<gl::Polygon> cachedPolygons;
	bool needRecache = true;
};
const std::vector<gl::Polygon>& getCachedPolygons(
	PolygonCache* cache,
	Model* model,
	class DocumentManager* documents);