home *** CD-ROM | disk | FTP | other *** search
/ Altsys Virtuoso 2.0K / virtuoso_20k.iso / DemoApps / Graphics / Viewers / raytracers / rpi / Source / initialize.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-08  |  360 b   |  22 lines

  1.  
  2. /*
  3.  * (c) 1988 by George Kyriazis
  4.  */
  5.  
  6. /*
  7.  * just to initialize some stuff
  8.  */
  9.  
  10. #include    "ray.h"
  11.  
  12. initialize()
  13. {
  14. /* for the moment just initialize the statistics */
  15.     raycount = rayline = 0;
  16.     shadowcount = shadowline = 0;
  17.     reflectcount = reflectline = 0;
  18.     refractcount = refractline = 0;
  19.     intersectcount = intersectline = 0;
  20.     objtestcount = objtestline = 0;
  21. }
  22.