src/gl/partrenderer.h

changeset 86
4bec0525ef1b
parent 73
97df974b5ed5
child 107
02f142b399b1
equal deleted inserted replaced
85:40e2940605a3 86:4bec0525ef1b
55 void renderAllArrays(); 55 void renderAllArrays();
56 void renderScene(); 56 void renderScene();
57 void updateViewMatrix(); 57 void updateViewMatrix();
58 void updateModelMatrix(); 58 void updateModelMatrix();
59 void setupBackgroundColor(); 59 void setupBackgroundColor();
60 Q_SLOT void build();
60 static constexpr double MIN_ZOOM = 0.0; 61 static constexpr double MIN_ZOOM = 0.0;
61 static constexpr double MAX_ZOOM = 3.0; 62 static constexpr double MAX_ZOOM = 3.0;
62 double zoom = 1.0; 63 double zoom = 1.0;
63 bool initialized = false; 64 bool initialized = false;
65 bool needBuild = true;
64 void renderVao(const gl::ArrayClass arrayClass); 66 void renderVao(const gl::ArrayClass arrayClass);
65 void checkForGLErrors(); 67 void checkForGLErrors();
66 }; 68 };

mercurial