# | Line 11 | Line 11 | static const char RCSid[] = "$Id$"; | |
---|---|---|
11 | supported by the Swiss National Science Foundation (SNSF, #147053) | |
12 | ================================================================== | |
13 | ||
14 | – | $Id$ |
14 | */ | |
15 | ||
16 | ||
# | Line 172 | 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)) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |