qvolray

view src/volray.h @ 21:4c62be57fc1a

foo
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 11 Apr 2012 16:59:45 +0300
parents 3d05c261a2f4
children 53aca4775514
line source
1 #ifndef VOLRAY_H_
2 #define VOLRAY_H_
4 #include "volume.h"
6 bool volray_init();
8 void volray_setvolume(Volume *vol);
9 Volume *volray_getvolume();
11 enum {
12 VOLRAY_ZCURSOR
13 };
15 void volray_setvalue(int which, float val);
16 float volray_getvalue(int which);
18 void volray_resize(int xsz, int ysz);
19 void volray_draw();
21 void volray_mouse(int bn, int state, int x, int y);
22 void volray_motion(int x, int y);
24 #endif // VOLRAY_H_