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.6 by greg, Wed Apr 17 14:10:23 1996 UTC vs.
Revision 2.8 by greg, Tue Jul 16 09:21:10 1996 UTC

# Line 44 | Line 44 | static char SCCSid[] = "$SunId$ LBL";
44   *  scattering.  A value approaching 1 indicates strong forward scattering.
45   */
46  
47 + #ifndef  MAXSLIST
48 + #define  MAXSLIST       32      /* maximum sources to check */
49 + #endif
50 +
51   #define RELAYDELIM      '>'             /* relay delimiter character */
52  
53   extern COLOR  cextinction;              /* global coefficient of extinction */
# Line 119 | Line 123 | register RAY  *r;
123          double  re, ge, be;
124          register int  i, j;
125                                          /* check arguments */
126 <        if (m->oargs.nfargs > 5)
126 >        if (m->oargs.nfargs > 7)
127                  objerror(m, USER, "bad arguments");
128                                          /* get source indices */
129          if (m->oargs.nsargs > 0 && (myslist = (int *)m->os) == NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines