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.16 by greg, Mon Oct 8 18:07:57 2007 UTC vs.
Revision 2.18 by greg, Sun Jul 29 19:01:39 2012 UTC

# Line 48 | Line 48 | initotypes(void)                       /* initialize ofun array */
48          ofun[MAT_PLASTIC2].flags |= T_OPAQUE;
49          ofun[MAT_METAL2].flags |= T_OPAQUE;
50          ofun[MAT_TRANS2].flags |= T_IRR_IGN;
51 +        ofun[MAT_ASHIKHMIN].funp = m_ashikhmin;
52 +        ofun[MAT_ASHIKHMIN].flags |= T_OPAQUE;
53          ofun[MAT_DIELECTRIC].funp =
54          ofun[MAT_INTERFACE].funp = m_dielectric;
55          ofun[MAT_DIELECTRIC].flags |= T_IRR_IGN;
# Line 61 | Line 63 | initotypes(void)                       /* initialize ofun array */
63          ofun[MAT_DIRECT2].funp = m_direct;
64          ofun[MAT_CLIP].funp = m_clip;
65          ofun[MAT_BRTDF].funp = m_brdf;
66 +        ofun[MAT_BSDF].funp = m_bsdf;
67          ofun[MAT_PFUNC].funp =
68          ofun[MAT_MFUNC].funp =
69          ofun[MAT_PDATA].funp =

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines