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

Comparing ray/src/hd/rhdisp.c (file contents):
Revision 3.24 by gwlarson, Thu May 14 13:06:32 1998 UTC vs.
Revision 3.25 by gwlarson, Fri May 22 08:30:40 1998 UTC

# Line 26 | Line 26 | int    imm_mode = 0;           /* bundles are being delivered imme
26  
27   int     do_outside = 0;         /* render from outside sections */
28  
29 + double  eyesepdist = 1;         /* eye separation distance */
30 +
31   char    *progname;              /* global argv[0] */
32  
33   FILE    *sstdin, *sstdout;      /* server's standard input and output */
# Line 405 | Line 407 | serv_result()                  /* get next server result and process
407                  break;
408          case DS_OUTSECT:
409                  do_outside = 1;
410 +                break;
411 +        case DS_EYESEP:
412 +                if (msg.nbytes <= 1 || (eyesepdist = atof(buf)) <= FTINY)
413 +                        error(INTERNAL, "bad eye separation from server");
414                  break;
415          case DS_STARTIMM:
416          case DS_ENDIMM:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines