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

Comparing ray/src/util/vwrays.c (file contents):
Revision 3.17 by greg, Thu Jun 14 05:19:05 2012 UTC vs.
Revision 3.18 by greg, Thu Aug 18 00:52:48 2016 UTC

# Line 304 | Line 304 | putf(          /* put out ray in float format */
304  
305          v[0] = ro[0]; v[1] = ro[1]; v[2] = ro[2];
306          v[3] = rd[0]; v[4] = rd[1]; v[5] = rd[2];
307 <        fwrite(v, sizeof(float), 6, stdout);
307 >        putbinary(v, sizeof(float), 6, stdout);
308   }
309  
310  
# Line 318 | Line 318 | putd(          /* put out ray in double format */
318  
319          v[0] = ro[0]; v[1] = ro[1]; v[2] = ro[2];
320          v[3] = rd[0]; v[4] = rd[1]; v[5] = rd[2];
321 <        fwrite(v, sizeof(double), 6, stdout);
321 >        putbinary(v, sizeof(double), 6, stdout);
322   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines