src/gl/partrenderer.h

changeset 120
8c9fff699241
parent 112
5760cbb32bc0
child 189
815fbaae9cb2
equal deleted inserted replaced
119:24275a4064f4 120:8c9fff699241
57 void renderScene(); 57 void renderScene();
58 void updateViewMatrix(); 58 void updateViewMatrix();
59 void updateModelMatrix(); 59 void updateModelMatrix();
60 void setupBackgroundColor(); 60 void setupBackgroundColor();
61 Q_SLOT void build(); 61 Q_SLOT void build();
62 static constexpr double MIN_ZOOM = 0.0;
63 static constexpr double MAX_ZOOM = 3.0;
64 double zoom = 1.0; 62 double zoom = 1.0;
65 bool initialized = false; 63 bool initialized = false;
66 bool needBuild = true; 64 bool needBuild = true;
67 void renderVao(const gl::ArrayClass arrayClass); 65 void renderVao(const gl::ArrayClass arrayClass);
68 void checkForGLErrors(); 66 void checkForGLErrors();

mercurial