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.1 by greg, Tue Nov 12 17:08:31 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();
# Line 54 | 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines