src/polygoncache.h

changeset 200
ca23936b455b
parent 193
b4beff48bb7a
child 206
654661eab7f3
equal deleted inserted replaced
199:6988973515d2 200:ca23936b455b
1 #pragma once 1 #pragma once
2 #include "main.h" 2 #include "main.h"
3 #include "model.h" 3 #include "model.h"
4 #include "gl/common.h"
5
6 struct GetPolygonsContext
7 {
8 ModelId modelId;
9 class DocumentManager* documents;
10 };
4 11
5 struct PolygonCache 12 struct PolygonCache
6 { 13 {
7 std::vector<gl::Polygon> cachedPolygons; 14 std::vector<gl::Polygon> cachedPolygons;
8 bool needRecache = true; 15 bool needRecache = true;

mercurial