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.2 by greg, Tue Apr 21 19:16:51 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 <   ===============================================================  
5 >   ==================================================================
6     Dump photon maps as RADIANCE scene description to stdout
7  
8     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
9     (c) Fraunhofer Institute for Solar Energy Systems,
10 <       Lucerne University of Applied Sciences & Arts  
10 >   (c) Lucerne University of Applied Sciences and Arts,
11 >   supported by the Swiss National Science Foundation (SNSF, #147053)
12     ==================================================================
13    
10   $Id$
14   */
15  
16  
# Line 124 | 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