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

Comparing ray/src/rt/m_mist.c (file contents):
Revision 2.9 by gregl, Wed May 28 14:38:32 1997 UTC vs.
Revision 2.11 by greg, Tue Feb 25 02:47:22 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1995 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Mist volumetric material.
6   */
7  
8 + #include "copyright.h"
9 +
10   #include  "ray.h"
11  
12   #include  "source.h"
# Line 50 | Line 49 | static char SCCSid[] = "$SunId$ LBL";
49  
50   #define RELAYDELIM      '>'             /* relay delimiter character */
51  
53 extern COLOR  cextinction;              /* global coefficient of extinction */
54 extern COLOR  salbedo;                  /* global scattering albedo */
55 extern double  seccg;                   /* global scattering eccentricity */
52  
57
53   static int
54   inslist(sl, n)          /* return index of source n if it's in list sl */
55   register int  *sl;
# Line 91 | Line 86 | register char  *id;
86   }
87  
88  
89 < static
89 > static void
90   add2slist(r, sl)        /* add source list to ray's */
91   register RAY  *r;
92   register int  *sl;
# Line 113 | Line 108 | register int  *sl;
108   }
109  
110  
111 + int
112   m_mist(m, r)            /* process a ray entering or leaving some mist */
113   OBJREC  *m;
114   register RAY  *r;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines