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

Comparing ray/src/rt/initotypes.c (file contents):
Revision 2.3 by greg, Thu May 27 15:27:59 1993 UTC vs.
Revision 2.5 by greg, Sat Jun 22 09:48:55 1996 UTC

# Line 22 | Line 22 | extern int  m_light();
22   extern int  m_normal();
23   extern int  m_aniso();
24   extern int  m_dielectric();
25 + extern int  m_mist();
26   extern int  m_glass();
27   extern int  m_clip();
28   extern int  m_mirror();
# Line 32 | Line 33 | extern int  t_func(), t_data();
33   extern int  p_cfunc(), p_bfunc();
34   extern int  p_pdata(), p_cdata(), p_bdata();
35   extern int  mx_func(), mx_data();
36 < extern int  text();
36 > extern int  do_text();
37  
38   FUN  ofun[NUMOTYPE] = INIT_OTYPE;
39  
# Line 64 | Line 65 | initotypes()                   /* initialize ofun array */
65          ofun[MAT_INTERFACE].funp = m_dielectric;
66          ofun[MAT_DIELECTRIC].flags |= T_IRR_IGN;
67          ofun[MAT_INTERFACE].flags |= T_IRR_IGN;
68 +        ofun[MAT_MIST].funp = m_mist;
69 +        ofun[MAT_MIST].flags |= T_IRR_IGN;
70          ofun[MAT_GLASS].funp = m_glass;
71          ofun[MAT_GLASS].flags |= T_IRR_IGN;
72          ofun[MAT_MIRROR].funp = m_mirror;
# Line 86 | Line 89 | initotypes()                   /* initialize ofun array */
89          ofun[PAT_BDATA].funp = p_bdata;
90          ofun[PAT_CTEXT].funp =
91          ofun[PAT_BTEXT].funp =
92 <        ofun[MIX_TEXT].funp = text;
92 >        ofun[MIX_TEXT].funp = do_text;
93          ofun[MIX_FUNC].funp = mx_func;
94          ofun[MIX_DATA].funp = mx_data;
95   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines