diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-26 13:29:48 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-26 13:29:48 (GMT) |
commit | cc913b4d8f8b62800223b1a86170077cf799dced (patch) | |
tree | 6516b214ef77a5da91d52772f535a0a24579693e /openscad.h | |
parent | cdc62b4f286ae24d162d940e09faafc75628c7e4 (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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: |