1 |
+ |
#ifndef lint |
2 |
+ |
static const char RCSid[] = "$Id$"; |
3 |
+ |
#endif |
4 |
|
/* |
5 |
|
================================================================== |
6 |
|
Dump photon maps as RADIANCE scene description to stdout |
11 |
|
supported by the Swiss National Science Foundation (SNSF, #147053) |
12 |
|
================================================================== |
13 |
|
|
11 |
– |
$Id$ |
14 |
|
*/ |
15 |
|
|
16 |
|
|
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)) { |