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

Comparing ray/src/hd/rhcopy.c (file contents):
Revision 3.15 by greg, Sat Feb 22 02:07:24 2003 UTC vs.
Revision 3.17 by schorsch, Thu Jun 26 00:58:10 2003 UTC

# Line 107 | Line 107 | openholo(fname, append)                /* open existing holodeck fil
107   char    *fname;
108   int     append;
109   {
110        extern long     ftell();
110          FILE    *fp;
111          int     fd;
112          int     hflags = 0;
# Line 195 | Line 194 | static int
194   bpcmp(b1p, b2p)                 /* compare beam positions on disk */
195   int     *b1p, *b2p;
196   {
197 <        register long   pdif = beamdir[*b1p].fo - beamdir[*b2p].fo;
197 >        register off_t  pdif = beamdir[*b1p].fo - beamdir[*b2p].fo;
198  
199          if (pdif > 0L) return(1);
200          if (pdif < 0L) return(-1);
# Line 299 | Line 298 | char   *pcf, *zbf;
298          int     eshft;
299          double  emult;
300          RESOLU  prs;
301 <        FLOAT   vl[2];
301 >        RREAL   vl[2];
302          FVECT   ro, rd;
303          double  aftd;
304          COLOR   ctmp;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines