| 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 */ |
| 100 |
|
Returns flags indicating actions to take in the control process. |
| 101 |
|
If the DC_VIEW or DC_RESIZE flag is returned, the odev |
| 102 |
|
structure must be updated beforehand. |
| 103 |
+ |
|
| 104 |
+ |
void |
| 105 |
+ |
dev_auxcom(cmd, args) : process auxiliary command |
| 106 |
+ |
char *cmd, *args; : command name and argument string |
| 107 |
+ |
|
| 108 |
+ |
Execute an auxiliary command (not one of those listed at the head of |
| 109 |
+ |
this file). The cmd argument points to the command name itself, and |
| 110 |
+ |
the args argument points to a string with the rest of the input line. |
| 111 |
+ |
If the command isn't known or there ARE no auxiliary commands, print |
| 112 |
+ |
an appropriate COMMAND error message and return. |
| 113 |
|
|
| 114 |
|
|
| 115 |
|
VIEW * |