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.2 by greg, Wed May 1 11:16:52 1991 UTC vs.
Revision 1.4 by greg, Tue May 7 15:57:01 1991 UTC

# Line 48 | 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;
51          ofun[MAT_PLASTIC].funp =
52          ofun[MAT_METAL].funp =
53          ofun[MAT_TRANS].funp = m_normal;
# Line 63 | Line 62 | initotypes()                   /* initialize ofun array */
62          ofun[MAT_PFUNC].funp =
63          ofun[MAT_MFUNC].funp =
64          ofun[MAT_PDATA].funp =
65 <        ofun[MAT_MDATA].funp = m_brdf;
65 >        ofun[MAT_MDATA].funp =
66 >        ofun[MAT_TFUNC].funp =
67 >        ofun[MAT_BRTDF].funp =
68 >        ofun[MAT_TDATA].funp = m_brdf;
69          ofun[TEX_FUNC].funp = t_func;
70          ofun[TEX_DATA].funp = t_data;
71          ofun[PAT_CFUNC].funp = p_cfunc;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines