ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdriver.h
(Generate patch)

Comparing ray/src/hd/rhdriver.h (file contents):
Revision 3.13 by gwlarson, Thu May 14 13:06:32 1998 UTC vs.
Revision 3.15 by gwlarson, Mon Aug 10 18:39:46 1998 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1997 Silicon Graphics, Inc. */
1 > /* Copyright (c) 1998 Silicon Graphics, Inc. */
2  
3   /* SCCSid "$SunId$ SGI" */
4  
# Line 17 | Line 17 | extern struct driver {
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 */
# Line 75 | Line 77 | the screen is optional.
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
# Line 98 | Line 101 | Called when odev struct file descriptor shows input is
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 *

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines