src/polygoncache.h

Wed, 25 May 2022 17:48:18 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Wed, 25 May 2022 17:48:18 +0300
changeset 195
6e79c1cb83e6
parent 193
b4beff48bb7a
child 200
ca23936b455b
permissions
-rw-r--r--

added a missing const

#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);

mercurial