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

Comparing ray/src/rt/ray.h (file contents):
Revision 2.35 by greg, Tue Oct 26 03:45:35 2010 UTC vs.
Revision 2.37 by greg, Wed Jun 29 13:41:26 2011 UTC

# Line 216 | Line 216 | extern int     rayshade(RAY *r, int mod);
216   extern void     rayparticipate(RAY *r);
217   extern void     raytexture(RAY *r, OBJECT mod);
218   extern int      raymixture(RAY *r, OBJECT fore, OBJECT back, double coef);
219 < extern void     raycontrib(double rc[3], const RAY *r, int flags);
219 > extern void     raycontrib(RREAL rc[3], const RAY *r, int flags);
220   extern double   raydist(const RAY *r, int flags);
221   extern double   raynormal(FVECT norm, RAY *r);
222   extern void     newrayxf(RAY *r);
# Line 238 | Line 238 | extern void    rview(void);
238   extern void     rpict(int seq, char *pout, char *zout, char *prvr);
239  
240   #ifdef __FAST_MATH__
241 < #define checknorm(vn)   normalize(vn)
241 > #define checknorm(vn)   (void)normalize(vn)
242   #else
243 < #define checknorm(vn)   1.0
243 > #define checknorm(vn)
244   #endif
245  
246   #ifdef __cplusplus

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines