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

Comparing ray/src/rt/p_func.c (file contents):
Revision 2.6 by greg, Wed Mar 5 16:16:53 2003 UTC vs.
Revision 2.7 by schorsch, Tue Mar 30 16:13:01 2004 UTC

# Line 8 | Line 8 | static const char      RCSid[] = "$Id$";
8   #include "copyright.h"
9  
10   #include  "ray.h"
11
11   #include  "func.h"
12 + #include  "rtotypes.h"
13  
14   /*
15   *      A procedural pattern can either be a brightness or a
# Line 34 | Line 34 | static const char      RCSid[] = "$Id$";
34   */
35  
36  
37 < p_bfunc(m, r)                   /* compute brightness pattern */
38 < OBJREC  *m;
39 < RAY  *r;
37 > extern int
38 > p_bfunc(                        /* compute brightness pattern */
39 >        OBJREC  *m,
40 >        RAY  *r
41 > )
42   {
43          double  bval;
44          register MFUNC  *mf;
# Line 56 | Line 58 | RAY  *r;
58   }
59  
60  
61 < p_cfunc(m, r)                   /* compute color pattern */
62 < OBJREC  *m;
63 < RAY  *r;
61 > extern int
62 > p_cfunc(                        /* compute color pattern */
63 >        OBJREC  *m,
64 >        RAY  *r
65 > )
66   {
67          COLOR  cval;
68          register MFUNC  *mf;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines