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 }; |