src/gl/partrenderer.h

changeset 86
4bec0525ef1b
parent 73
97df974b5ed5
child 107
02f142b399b1
--- a/src/gl/partrenderer.h	Wed Mar 18 17:11:23 2020 +0200
+++ b/src/gl/partrenderer.h	Thu Mar 19 21:06:06 2020 +0200
@@ -57,10 +57,12 @@
 	void updateViewMatrix();
 	void updateModelMatrix();
 	void setupBackgroundColor();
+	Q_SLOT void build();
 	static constexpr double MIN_ZOOM = 0.0;
 	static constexpr double MAX_ZOOM = 3.0;
 	double zoom = 1.0;
 	bool initialized = false;
+	bool needBuild = true;
 	void renderVao(const gl::ArrayClass arrayClass);
 	void checkForGLErrors();
 };

mercurial