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

Comparing ray/src/rt/pmapio.c (file contents):
Revision 2.5 by greg, Fri May 22 14:09:01 2015 UTC vs.
Revision 2.8 by rschregle, Tue Oct 20 15:51:54 2015 UTC

# Line 1 | Line 1
1 + #ifndef lint
2 + static const char RCSid[] = "$Id$";
3 + #endif
4   /*
5     ==================================================================
6     Photon map file I/O
# Line 8 | Line 11
11     supported by the Swiss National Science Foundation (SNSF, #147053)
12     ==================================================================
13    
11   $Id$    
14   */
15  
16  
# Line 169 | Line 171 | PhotonMapType loadPhotonMap (PhotonMap *pmap, const ch
171    
172     /* Identify photon map type from format string */
173     for (ptype = 0;
174 <        strcmp(pmapFormat [ptype], format) && ptype < NUM_PMAP_TYPES;
174 >        ptype < NUM_PMAP_TYPES && strcmp(pmapFormat [ptype], format);
175          ptype++);
176        
177     if (!validPmapType(ptype)) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines