17 |
|
|
18 |
|
/* dev_input() return flags */ |
19 |
|
#define DEV_SHUTDOWN 01 /* user shutdown request */ |
20 |
< |
#define DEV_NEWVIEW 02 /* view change (new view in odev.v) */ |
21 |
< |
#define DEV_NEWSIZE 04 /* device resolution change */ |
22 |
< |
#define DEV_WAIT 010 /* pause computation and wait for input */ |
20 |
> |
#define DEV_NEWVIEW 02 /* view change (new view in odev.v) */ |
21 |
> |
#define DEV_NEWSIZE 04 /* device resolution change */ |
22 |
> |
#define DEV_WAIT 010 /* pause computation and wait for input */ |
23 |
|
#define DEV_RESUME 020 /* resume after pause */ |
24 |
+ |
#define DEV_REDRAW 040 /* redraw from server */ |
25 |
+ |
#define DEV_PUTVIEW 0100 /* print out current view */ |
26 |
|
|
27 |
|
|
28 |
|
/************************************************************************ |
48 |
|
|
49 |
|
|
50 |
|
void |
51 |
< |
dev_value(c, p) : register new point of light |
51 |
> |
dev_value(c, p, v) : register new point of light |
52 |
|
COLR c; : pixel color (RGBE) |
53 |
|
FVECT p; : world intersection point |
54 |
+ |
FVECT v; : ray direction vector |
55 |
|
|
56 |
|
Add the given color point to the display output queue. |
57 |
|
|