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.1 by greg, Thu Dec 13 10:44:17 1990 UTC vs.
Revision 1.2 by greg, Wed May 1 11:16:52 1991 UTC

# Line 12 | Line 12 | static char SCCSid[] = "$SunId$ LBL";
12  
13   #include  "otypes.h"
14  
15 + #include  "otspecial.h"
16 +
17   extern int  o_sphere();
18   extern int  o_face();
19   extern int  o_cone();
# Line 46 | Line 48 | initotypes()                   /* initialize ofun array */
48          ofun[MAT_ILLUM].funp =
49          ofun[MAT_GLOW].funp =
50          ofun[MAT_SPOT].funp = m_light;
51 +        ofun[MAT_ILLUM].flags |= T_IRR_IGN;
52          ofun[MAT_PLASTIC].funp =
53          ofun[MAT_METAL].funp =
54          ofun[MAT_TRANS].funp = m_normal;
55 +        ofun[MAT_TRANS].flags |= T_IRR_IGN;
56          ofun[MAT_DIELECTRIC].funp =
57          ofun[MAT_INTERFACE].funp = m_dielectric;
58 +        ofun[MAT_DIELECTRIC].flags |= T_IRR_IGN;
59 +        ofun[MAT_INTERFACE].flags |= T_IRR_IGN;
60          ofun[MAT_GLASS].funp = m_glass;
61 +        ofun[MAT_GLASS].flags |= T_IRR_IGN;
62          ofun[MAT_CLIP].funp = m_clip;
63          ofun[MAT_PFUNC].funp =
64          ofun[MAT_MFUNC].funp =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines