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.3 by rschregle, Fri May 8 13:20:23 2015 UTC vs.
Revision 2.6 by rschregle, Thu Feb 4 19:39:10 2016 UTC

# Line 1 | Line 1
1 + #ifndef lint
2 + static const char RCSid[] = "$Id$";
3 + #endif
4   /*
5     ==================================================================
6     Dump photon maps as RADIANCE scene description to stdout
# Line 8 | Line 11
11     supported by the Swiss National Science Foundation (SNSF, #147053)
12     ==================================================================
13    
11   $Id$
14   */
15  
16  
# Line 125 | Line 127 | int main (int argc, char** argv)
127        
128        /* Identify photon map type from format string */
129        for (ptype = 0;
130 <           strcmp(pmapFormat [ptype], format) && ptype < NUM_PMAP_TYPES;
130 >           ptype < NUM_PMAP_TYPES && strcmp(pmapFormat [ptype], format);
131             ptype++);
132        
133        if (!validPmapType(ptype)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines