summaryrefslogtreecommitdiff
path: root/openscad.h
diff options
context:
space:
mode:
authorclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-06-26 13:29:48 (GMT)
committerclifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c>2009-06-26 13:29:48 (GMT)
commitcc913b4d8f8b62800223b1a86170077cf799dced (patch)
tree6516b214ef77a5da91d52772f535a0a24579693e /openscad.h
parentcdc62b4f286ae24d162d940e09faafc75628c7e4 (diff)
Clifford Wolf:
Added shader for pseudo-edges in opencsg mode git-svn-id: http://svn.clifford.at/openscad/trunk@24 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'openscad.h')
-rw-r--r--openscad.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/openscad.h b/openscad.h
index d37f6ac..1408f78 100644
--- a/openscad.h
+++ b/openscad.h
@@ -314,7 +314,7 @@ public:
COLOR_CUTOUT
};
- void render_surface(colormode_e colormode) const;
+ void render_surface(colormode_e colormode, GLint e1 = 0, GLint e2 = 0, GLint e3 = 0) const;
void render_edges(colormode_e colormode) const;
#ifdef ENABLE_CGAL
@@ -428,6 +428,8 @@ public:
double object_rot_z;
double w_h_ratio;
+ GLuint edgeshader_prog;
+
GLView(QWidget *parent = NULL);
protected:
contact: Jan Huwald // Impressum