src/GLRenderer.h

changeset 681
c1cc036c6e1f
parent 679
dd7545e00a8f
child 684
8a56b1d4d44d
equal deleted inserted replaced
680:bf6323f2b1be 681:c1cc036c6e1f
149 void clearOverlay(); 149 void clearOverlay();
150 void compileObject (LDObject* obj); 150 void compileObject (LDObject* obj);
151 void compileAllObjects(); 151 void compileAllObjects();
152 void drawGLScene(); 152 void drawGLScene();
153 void endDraw (bool accept); 153 void endDraw (bool accept);
154 void forgetObject (LDObject* obj);
154 Axis getCameraAxis (bool y, EFixedCamera camid = (EFixedCamera) - 1); 155 Axis getCameraAxis (bool y, EFixedCamera camid = (EFixedCamera) - 1);
155 const char* getCameraName() const; 156 const char* getCameraName() const;
156 double getDepthValue() const; 157 double getDepthValue() const;
157 LDGLOverlay& getOverlay (int newcam); 158 LDGLOverlay& getOverlay (int newcam);
158 uchar* getScreencap (int& w, int& h); 159 uchar* getScreencap (int& w, int& h);
247 248
248 // Convert a 2D point to a 3D point 249 // Convert a 2D point to a 3D point
249 Vertex coordconv2_3 (const QPoint& pos2d, bool snap) const; 250 Vertex coordconv2_3 (const QPoint& pos2d, bool snap) const;
250 251
251 // Draw a VBO array 252 // Draw a VBO array
252 void drawVBOs (E_VBOArray arrayType, GLenum type); 253 void drawVBOs (EVBOSurface surface, GLenum type);
253 254
254 // Determine which color to draw text with 255 // Determine which color to draw text with
255 QColor getTextPen() const; 256 QColor getTextPen() const;
256 257
257 // Convert a 3D point to a 2D point 258 // Convert a 3D point to a 2D point

mercurial