src/gldraw.h

changeset 219
70eb948a2b02
parent 210
58a3cbb49374
child 223
4f95d7f2e9ef
--- a/src/gldraw.h	Sun May 19 00:12:02 2013 +0300
+++ b/src/gldraw.h	Sun May 19 00:47:07 2013 +0300
@@ -49,14 +49,15 @@
 	GLRenderer (QWidget* parent = null);
 	~GLRenderer ();
 	
-	void		beginPlaneDraw		();
 	Camera		camera				() const { return m_camera; }
 	Axis		cameraAxis			(bool y);
+	const char*	cameraName			() const;
 	void		clearOverlay		();
 	void		compileObject		(LDObject* obj);
 	void		compileAllObjects	();
+	double		depthValue			() const;
 	EditMode	editMode			() const { return m_editmode; }
-	void		endDraw		(bool accept);
+	void		endDraw				(bool accept);
 	QColor		getMainColor		();
 	void		hardRefresh		();
 	bool		picking				() const { return m_picking; }
@@ -65,6 +66,7 @@
 	uchar*		screencap			(ushort& w, ushort& h);
 	void		setBackground		();
 	void		setCamera			(const Camera cam);
+	void		setDepthValue		(double depth);
 	void		setEditMode		(const EditMode mode);
 	void		setupOverlay		();
 	void		setZoom				(const double zoom) { m_zoom = zoom; }

mercurial