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

Comparing ray/src/rt/p_data.c (file contents):
Revision 2.7 by greg, Wed Mar 5 16:16:53 2003 UTC vs.
Revision 2.8 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  "data.h"
13
12   #include  "func.h"
13 + #include  "rtotypes.h"
14  
15   /*
16   *      A stored pattern can either be brightness or
# Line 47 | Line 46 | static const char      RCSid[] = "$Id$";
46   */
47  
48  
49 < p_bdata(m, r)                   /* interpolate brightness data */
50 < register OBJREC  *m;
51 < RAY  *r;
49 > extern int
50 > p_bdata(                        /* interpolate brightness data */
51 >        register OBJREC  *m,
52 >        RAY  *r
53 > )
54   {
55          double  bval;
56          double  pt[MAXDIM];
# Line 82 | Line 83 | computerr:
83   }
84  
85  
86 < p_cdata(m, r)                   /* interpolate color data */
87 < register OBJREC  *m;
88 < RAY  *r;
86 > extern int
87 > p_cdata(                        /* interpolate color data */
88 >        register OBJREC  *m,
89 >        RAY  *r
90 > )
91   {
92          double  col[3];
93          COLOR  cval;
# Line 129 | Line 132 | computerr:
132   }
133  
134  
135 < p_pdata(m, r)                   /* interpolate picture data */
136 < register OBJREC  *m;
137 < RAY  *r;
135 > extern int
136 > p_pdata(                        /* interpolate picture data */
137 >        register OBJREC  *m,
138 >        RAY  *r
139 > )
140   {
141          double  col[3];
142          COLOR  cval;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines