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

Comparing ray/src/hd/rholo4.c (file contents):
Revision 3.20 by gwlarson, Tue Oct 6 18:09:49 1998 UTC vs.
Revision 3.22 by gwlarson, Tue Nov 24 17:05:36 1998 UTC

# Line 16 | Line 16 | static char SCCSid[] = "$SunId$ SGI";
16   #define HDSUF   ".hdi"
17   #endif
18  
19 + #ifndef FNONBLK
20 + #define FNONBLK         O_NONBLOCK
21 + #endif
22 +
23   static int      inp_flags;
24   static int      dpd[3];
25   static FILE     *dpout;
# Line 158 | Line 162 | int    block;
162                  if (msg.nbytes % sizeof(PACKHEAD))
163                          error(INTERNAL, "bad DR_DELSET from display process");
164                  bundle_set(BS_DEL, (PACKHEAD *)buf, msg.nbytes/sizeof(PACKHEAD));
165 +                break;
166 +        case DR_VIEWPOINT:      /* set target eye position */
167 +                if (msg.nbytes != sizeof(VIEWPOINT))
168 +                        error(INTERNAL, "bad DR_VIEWPOINT from display process");
169 +                copystruct(&myeye, (VIEWPOINT *)buf);
170                  break;
171          case DR_ATTEN:          /* block for priority request */
172                  if (msg.nbytes)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines