1 |
< |
/* Copyright (c) 1997 Silicon Graphics, Inc. */ |
1 |
> |
/* Copyright (c) 1998 Silicon Graphics, Inc. */ |
2 |
|
|
3 |
|
/* SCCSid "$SunId$ SGI" */ |
4 |
|
|
17 |
|
|
18 |
|
extern int imm_mode; /* bundles are being delivered immediately */ |
19 |
|
|
20 |
+ |
extern double eyesepdist; /* world eye separation distance */ |
21 |
+ |
|
22 |
|
/* user commands */ |
23 |
|
#define DC_SETVIEW 0 /* set the base view */ |
24 |
|
#define DC_GETVIEW 1 /* print the current base view */ |
77 |
|
|
78 |
|
|
79 |
|
void |
80 |
< |
dev_value(c, p, v) : register new point of light |
80 |
> |
dev_value(c, d, p) : register new point of light |
81 |
|
COLR c; : pixel color (RGBE) |
82 |
+ |
FVECT d; : ray direction vector |
83 |
|
FVECT p; : world intersection point |
81 |
– |
FVECT v; : ray direction vector |
84 |
|
|
85 |
|
Add the given color point to the display output queue. If imm_mode is |
86 |
< |
non-zero, then values are being sent in rapid succession. |
86 |
> |
non-zero, then values are being sent in rapid succession. If p is NULL, |
87 |
> |
then the point is at infinity. |
88 |
|
|
89 |
|
|
90 |
|
int |
101 |
|
Returns flags indicating actions to take in the control process. |
102 |
|
If the DC_VIEW or DC_RESIZE flag is returned, the odev |
103 |
|
structure must be updated beforehand. |
104 |
+ |
|
105 |
+ |
void |
106 |
+ |
dev_auxcom(cmd, args) : process auxiliary command |
107 |
+ |
char *cmd, *args; : command name and argument string |
108 |
+ |
|
109 |
+ |
Execute an auxiliary command (not one of those listed at the head of |
110 |
+ |
this file). The cmd argument points to the command name itself, and |
111 |
+ |
the args argument points to a string with the rest of the input line. |
112 |
+ |
If the command isn't known or there ARE no auxiliary commands, print |
113 |
+ |
an appropriate COMMAND error message and return. |
114 |
|
|
115 |
|
|
116 |
|
VIEW * |