src/glCompiler.h

changeset 1098
0b837bed121d
parent 1072
9ce9496427f2
child 1113
5f3139c802bf
--- a/src/glCompiler.h	Thu Feb 09 00:32:24 2017 +0200
+++ b/src/glCompiler.h	Thu Feb 09 00:43:30 2017 +0200
@@ -36,13 +36,13 @@
 
 	GLCompiler (GLRenderer* renderer);
 	~GLCompiler();
-	void compileDocument (LDDocument* doc);
+	void compileModel (Model* model);
 	void dropObjectInfo (LDObject* obj);
 	QColor getColorForPolygon (LDPolygon& poly, LDObject* topobj, ComplementVboType complement) const;
 	QColor indexColorForID (int id) const;
 	void initialize();
 	void needMerge();
-	void prepareVBO (int vbonum);
+	void prepareVBO (int vbonum, Model* model);
 	void setRenderer (GLRenderer* compiler);
 	void stageForCompilation (LDObject* obj);
 	void unstage (LDObject* obj);

mercurial