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

Comparing ray/src/rt/rmain.c (file contents):
Revision 1.23 by greg, Thu Jan 11 10:09:22 1990 UTC vs.
Revision 1.24 by greg, Fri Jan 12 11:27:27 1990 UTC

# Line 51 | Line 51 | int  (*cmdvec)() = NULL;               /* command error vector */
51  
52   int  (*trace)() = NULL;                 /* trace call */
53  
54 + extern int  ambnotify();                /* new object notify functions */
55 + int  (*addobjnotify[])() = {ambnotify, NULL};
56 +
57   CUBE  thescene;                         /* our scene */
58  
59   extern int  ralrm;                      /* seconds between reports */
# Line 353 | Line 356 | char  *argv[];
356                          goto badopt;
357                  }
358          }
359 +        *amblp = NULL;
360   #if  RPICT|RVIEW
361          err = setview(&ourview);        /* set viewing parameters */
362          if (err != NULL)
# Line 420 | Line 424 | char  *argv[];
424  
425          marksources();                  /* find and mark sources */
426  
427 <        *amblp = NULL;                  /* initialize ambient calculation */
424 <        setambient(ambfile);
427 >        setambient(ambfile);            /* initialize ambient calculation */
428  
429   #if  RPICT
430          if (ralrm > 0)                  /* report init time */

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)