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

Comparing ray/src/common/colrops.c (file contents):
Revision 2.10 by schorsch, Sun Jul 27 22:12:01 2003 UTC vs.
Revision 2.11 by schorsch, Wed Jul 30 10:11:06 2003 UTC

# Line 9 | Line 9 | static const char      RCSid[] = "$Id$";
9  
10   #include <stdio.h>
11   #include <math.h>
12 +
13 + #include "rtmisc.h"
14   #include "color.h"
15  
14 extern char     *bmalloc();
16  
17   #define MAXGSHIFT       31              /* maximum shift for gamma table */
18  
# Line 22 | Line 23 | static BYTE    (*g_bval)[256] = NULL;
23  
24   int
25   setcolrcor(f, a2)               /* set brightness correction */
26 < double  (*f)();
26 > double  (*f)(double,double);
27   double  a2;
28   {
29          double  mult;
# Line 44 | Line 45 | double a2;
45  
46   int
47   setcolrinv(f, a2)               /* set inverse brightness correction */
48 < double  (*f)();
48 > double  (*f)(double,double);
49   double  a2;
50   {
51          double  mult;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines