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

Comparing ray/src/rt/pmapdump.c (file contents):
Revision 2.7 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.8 by rschregle, Mon Aug 14 21:12:10 2017 UTC

# Line 185 | Line 185 | int main (int argc, char** argv)
185        /* Skip primary rays */
186        pm.numPrimary = getint(sizeof(pm.numPrimary), pmapFile);
187        while (pm.numPrimary-- > 0) {
188 +         /* Skip source index & incident dir */
189           getint(sizeof(pri.srcIdx) + sizeof(pri.dir), pmapFile);
190 + #ifdef PMAP_PRIMARYPOS        
191 +         /* Skip primary hitpoint */
192           for (j = 0; j < 3; j++)
193              getflt(pmapFile);
194 + #endif
195        }
196  
197   #ifdef PMAP_OOC

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines