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

Comparing ray/src/rt/pmap.c (file contents):
Revision 2.1 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.2 by greg, Tue Apr 21 19:16:51 2015 UTC

# Line 20 | Line 20
20   #include "pmapbias.h"
21   #include "pmapdiag.h"
22   #include "otypes.h"
23 #include <signal.h>
23   #include <time.h>
24   #include <sys/stat.h>
25  
# Line 266 | Line 265 | static void preComputeGlobal (PhotonMap *pmap)
265     repStartTime = time(NULL);
266     signal(SIGCONT, pmapPreCompReport);
267     repProgress = 0;
268 <   bcopy(pmap -> heap, nuHeap, nuHeapSize * sizeof(Photon));
268 >   memcpy(nuHeap, pmap -> heap, nuHeapSize * sizeof(Photon));
269    
270     for (i = 0, p = nuHeap; i < nuHeapSize; i++, p++) {
271        ray.ro = NULL;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines