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

Comparing ray/src/rt/pmapdata.c (file contents):
Revision 2.12 by greg, Tue Sep 1 16:27:52 2015 UTC vs.
Revision 2.13 by rschregle, Wed Sep 9 16:08:46 2015 UTC

# Line 364 | Line 364 | void findPhotons (PhotonMap* pmap, const RAY* ray)
364           nearestNeighbours(pmap, pos, norm, 1);
365        }
366  
367 + #ifdef PMAP_ITSYBITSY
368        if (pmap -> maxDist < FTINY) {
369           sprintf(errmsg, "itsy bitsy teeny weeny photon search radius %e",
370                   sqrt(pmap -> maxDist));
371           error(WARNING, errmsg);
372        }
373 + #endif
374  
375        if (pmap -> squeueEnd < pmap -> squeueSize * pmap -> gatherTolerance) {
376           /* Short lookup; too few photons found */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines