| 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 |
|
|
| 26 |
|
|
| 27 |
|
/************************************************************************ |
| 47 |
|
|
| 48 |
|
|
| 49 |
|
void |
| 50 |
< |
dev_value(c, p) : register new point of light |
| 50 |
> |
dev_value(c, p, v) : register new point of light |
| 51 |
|
COLR c; : pixel color (RGBE) |
| 52 |
|
FVECT p; : world intersection point |
| 53 |
+ |
FVECT v; : ray direction vector |
| 54 |
|
|
| 55 |
|
Add the given color point to the display output queue. |
| 56 |
|
|