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

Comparing ray/src/px/pcond3.c (file contents):
Revision 3.13 by greg, Tue May 13 17:58:33 2003 UTC vs.
Revision 3.14 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 5 | Line 5 | static const char      RCSid[] = "$Id$";
5   * Routines for computing and applying brightness mapping.
6   */
7  
8 + #include <string.h>
9 +
10   #include "pcond.h"
11  
12  
# Line 350 | Line 352 | mkbrmap()                      /* make dynamic range map */
352          double  ceiling, trimmings;
353          register int    i;
354                                          /* copy initial histogram */
355 <        bcopy((void *)bwhist, (void *)modhist, sizeof(modhist));
355 >        memcpy((void *)modhist, (void *)bwhist, sizeof(modhist));
356          s = (bwmax - bwmin)/HISTRES;    /* s is delta b */
357                                          /* loop until satisfactory */
358          do {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines