30 renderer (QWidget* parent = null); |
30 renderer (QWidget* parent = null); |
31 void hardRefresh (); |
31 void hardRefresh (); |
32 void compileObjects (); |
32 void compileObjects (); |
33 void setBackground (); |
33 void setBackground (); |
34 void pick (uint mx, uint my); |
34 void pick (uint mx, uint my); |
|
35 QColor getMainColor (); |
35 |
36 |
36 double fRotX, fRotY, fRotZ; |
37 double fRotX, fRotY, fRotZ; |
37 QPoint lastPos; |
38 QPoint lastPos; |
38 double fZoom; |
39 double fZoom; |
39 |
40 |
52 template<class T> void compileSubObject (LDObject* obj, const GLenum eGLType, |
53 template<class T> void compileSubObject (LDObject* obj, const GLenum eGLType, |
53 const short dVerts); |
54 const short dVerts); |
54 void compileVertex (vertex& vrt); |
55 void compileVertex (vertex& vrt); |
55 void clampAngle (double& fAngle); |
56 void clampAngle (double& fAngle); |
56 void setObjectColor (LDObject* obj); |
57 void setObjectColor (LDObject* obj); |
57 void setMainColor (); |
|
58 |
58 |
59 Qt::MouseButtons qMouseButtons; |
59 Qt::MouseButtons qMouseButtons; |
60 Qt::KeyboardModifiers qKeyMods; |
60 Qt::KeyboardModifiers qKeyMods; |
61 ulong ulTotalMouseMove; |
61 ulong ulTotalMouseMove; |
62 }; |
62 }; |