src/polygoncache.h@eb9d900dc79a
src/polygoncache.h
Wed, 25 May 2022 18:33:38 +0300
- author
- Teemu Piippo <teemu@hecknology.net>
- date
- Wed, 25 May 2022 18:33:38 +0300
- changeset 198
- eb9d900dc79a
- parent 193
-
b4beff48bb7a
- child 200
-
ca23936b455b
- permissions
- -rw-r--r--
fix up things and remove unnecessary code
#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);