glviewvol
diff src/rend_fast.h @ 4:04330eb80b36
lots of stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 29 Dec 2014 05:41:36 +0200 |
parents | 7bdf40403b9c |
children | 5417c25cb238 |
line diff
1.1 --- a/src/rend_fast.h Sun Dec 28 21:48:15 2014 +0200 1.2 +++ b/src/rend_fast.h Mon Dec 29 05:41:36 2014 +0200 1.3 @@ -5,8 +5,8 @@ 1.4 1.5 class RendererFast : public Renderer { 1.6 private: 1.7 - unsigned int vol_tex; 1.8 - bool vol_tex_valid; 1.9 + unsigned int vol_tex, xfer_tex; 1.10 + bool vol_tex_valid, xfer_tex_valid; 1.11 1.12 public: 1.13 RendererFast(); 1.14 @@ -14,6 +14,9 @@ 1.15 bool init(); 1.16 void destroy(); 1.17 1.18 + void set_volume(Volume *vol); 1.19 + Curve &transfer_curve(int color); 1.20 + 1.21 void update(unsigned int msec); 1.22 void render() const; 1.23 };