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

Comparing ray/src/rt/ambio.c (file contents):
Revision 2.7 by greg, Thu Apr 24 06:03:15 2014 UTC vs.
Revision 2.8 by greg, Wed May 7 01:16:03 2014 UTC

# Line 68 | Line 68 | writambval(                    /* write ambient value to stream */
68          putv2(av->rad, fp);
69          putv2(av->gpos, fp);
70          putv2(av->gdir, fp);
71 +        putint(av->corral, sizeof(av->corral), fp);
72          return(ferror(fp) ? -1 : 0);
73   }
74  
# Line 118 | Line 119 | readambval(                    /* read ambient value from stream */
119          getv2(av->rad, fp);
120          getv2(av->gpos, fp);
121          getv2(av->gdir, fp);
122 +        av->corral = (uint32)getint(sizeof(av->corral), fp);
123          return(feof(fp) ? 0 : ambvalOK(av));
124   }
125  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines