--- ray/src/hd/rhdriver.h 1998/05/14 13:06:32 3.13 +++ ray/src/hd/rhdriver.h 1998/08/10 18:39:46 3.15 @@ -1,4 +1,4 @@ -/* Copyright (c) 1997 Silicon Graphics, Inc. */ +/* Copyright (c) 1998 Silicon Graphics, Inc. */ /* SCCSid "$SunId$ SGI" */ @@ -17,6 +17,8 @@ extern struct driver { extern int imm_mode; /* bundles are being delivered immediately */ +extern double eyesepdist; /* world eye separation distance */ + /* user commands */ #define DC_SETVIEW 0 /* set the base view */ #define DC_GETVIEW 1 /* print the current base view */ @@ -75,13 +77,14 @@ the screen is optional. void -dev_value(c, p, v) : register new point of light +dev_value(c, d, p) : register new point of light COLR c; : pixel color (RGBE) +FVECT d; : ray direction vector FVECT p; : world intersection point -FVECT v; : ray direction vector Add the given color point to the display output queue. If imm_mode is -non-zero, then values are being sent in rapid succession. +non-zero, then values are being sent in rapid succession. If p is NULL, +then the point is at infinity. int @@ -98,6 +101,16 @@ Called when odev struct file descriptor shows input is Returns flags indicating actions to take in the control process. If the DC_VIEW or DC_RESIZE flag is returned, the odev structure must be updated beforehand. + +void +dev_auxcom(cmd, args) : process auxiliary command +char *cmd, *args; : command name and argument string + +Execute an auxiliary command (not one of those listed at the head of +this file). The cmd argument points to the command name itself, and +the args argument points to a string with the rest of the input line. +If the command isn't known or there ARE no auxiliary commands, print +an appropriate COMMAND error message and return. VIEW *