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 1.5 by greg, Wed Jun 19 16:38:10 1991 UTC vs.
Revision 2.2 by greg, Sat Jan 4 19:54:53 1992 UTC

# Line 1 | Line 1
1 < /* Copyright (c) 1990 Regents of the University of California */
1 > /* Copyright (c) 1992 Regents of the University of California */
2  
3   #ifndef lint
4   static char SCCSid[] = "$SunId$ LBL";
# Line 20 | Line 20 | extern int  o_cone();
20   extern int  o_instance();
21   extern int  m_light();
22   extern int  m_normal();
23 + extern int  m_aniso();
24   extern int  m_dielectric();
25   extern int  m_glass();
26   extern int  m_clip();
27   extern int  m_mirror();
28 + extern int  m_direct();
29   extern int  m_brdf();
30   extern int  t_func(), t_data();
31   extern int  p_cfunc(), p_bfunc();
# Line 53 | Line 55 | initotypes()                   /* initialize ofun array */
55          ofun[MAT_METAL].funp =
56          ofun[MAT_TRANS].funp = m_normal;
57          ofun[MAT_TRANS].flags |= T_IRR_IGN;
58 +        ofun[MAT_PLASTIC2].funp =
59 +        ofun[MAT_METAL2].funp =
60 +        ofun[MAT_TRANS2].funp = m_aniso;
61 +        ofun[MAT_TRANS2].flags |= T_IRR_IGN;
62          ofun[MAT_DIELECTRIC].funp =
63          ofun[MAT_INTERFACE].funp = m_dielectric;
64          ofun[MAT_DIELECTRIC].flags |= T_IRR_IGN;
# Line 60 | Line 66 | initotypes()                   /* initialize ofun array */
66          ofun[MAT_GLASS].funp = m_glass;
67          ofun[MAT_GLASS].flags |= T_IRR_IGN;
68          ofun[MAT_MIRROR].funp = m_mirror;
69 +        ofun[MAT_DIRECT1].funp =
70 +        ofun[MAT_DIRECT2].funp = m_direct;
71          ofun[MAT_CLIP].funp = m_clip;
72          ofun[MAT_PFUNC].funp =
73          ofun[MAT_MFUNC].funp =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines