ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/srcsupp.c
(Generate patch)

Comparing ray/src/rt/srcsupp.c (file contents):
Revision 1.8 by greg, Tue Jun 25 16:42:03 1991 UTC vs.
Revision 1.9 by greg, Tue Jul 16 15:56:48 1991 UTC

# Line 27 | Line 27 | SRCFUNC  sfun[NUMOTYPE];               /* source dispatch table */
27  
28   initstypes()                    /* initialize source dispatch table */
29   {
30 <        extern VSMATERIAL  mirror_vs;
30 >        extern VSMATERIAL  mirror_vs, direct1_vs, direct2_vs;
31          extern int  fsetsrc(), ssetsrc(), sphsetsrc(), rsetsrc();
32          extern double  fgetplaneq(), rgetplaneq();
33          extern double  fgetmaxdisk(), rgetmaxdisk();
# Line 37 | Line 37 | initstypes()                   /* initialize source dispatch table */
37          static SOBJECT  rsobj = {rsetsrc, rgetplaneq, rgetmaxdisk};
38  
39          sfun[MAT_MIRROR].mf = &mirror_vs;
40 +        sfun[MAT_DIRECT1].mf = &direct1_vs;
41 +        sfun[MAT_DIRECT2].mf = &direct2_vs;
42          sfun[OBJ_FACE].of = &fsobj;
43          sfun[OBJ_SOURCE].of = &ssobj;
44          sfun[OBJ_SPHERE].of = &sphsobj;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines