gldraw.h

changeset 52
d71226763607
parent 47
9dd536c1ce39
child 54
60f328f352c9
equal deleted inserted replaced
51:94c434a56961 52:d71226763607
28 28
29 public: 29 public:
30 renderer (QWidget* parent = nullptr); 30 renderer (QWidget* parent = nullptr);
31 void hardRefresh (); 31 void hardRefresh ();
32 void compileObjects (); 32 void compileObjects ();
33 void setColor (strconfig& cfg, void (*func) (float, float, float, float)); 33 void setColor (str zColor, void (*func) (float, float, float, float));
34 34
35 double fRotX, fRotY, fRotZ; 35 double fRotX, fRotY, fRotZ;
36 QPoint lastPos; 36 QPoint lastPos;
37 double fZoom; 37 double fZoom;
38 38
45 45
46 private: 46 private:
47 GLuint uObjList; 47 GLuint uObjList;
48 void compileOneObject (LDObject* obj); 48 void compileOneObject (LDObject* obj);
49 void clampAngle (double& fAngle); 49 void clampAngle (double& fAngle);
50 void setObjectColor (LDObject* obj);
50 }; 51 };
51 52
52 #endif // __GLDRAW_H__ 53 #endif // __GLDRAW_H__

mercurial