src/gl/compiler.h

changeset 39
caac957e9834
parent 35
98906a94732f
child 46
98645c8e7704
--- a/src/gl/compiler.h	Sat Feb 01 15:49:28 2020 +0200
+++ b/src/gl/compiler.h	Sat Feb 01 17:10:11 2020 +0200
@@ -48,10 +48,10 @@
 public:
 	Compiler(const ldraw::ColorTable& colorTable, QObject* parent);
 	~Compiler();
-	void build(Model* model, DocumentManager* context);
-	void buildPolygon(Polygon polygon, std::vector<Vertex>* vboData);
+	void build(Model* model, DocumentManager* context, const RenderPreferences& preferences);
+	void buildPolygon(Polygon polygon, std::vector<Vertex>* vboData, const gl::RenderPreferences& preferences);
 	std::size_t vertexCount(gl::ArrayClass arrayClass) const;
-	QColor getColorForPolygon(const gl::Polygon& polygon);
+	QColor getColorForPolygon(const gl::Polygon& polygon, const RenderPreferences& preferences);
 	glm::vec3 modelCenter() const;
 	double modelDistance() const;
 	void initialize();

mercurial