home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / povos2.zip / unix.c < prev   
C/C++ Source or Header  |  1993-08-09  |  1KB  |  69 lines

  1. /****************************************************************************
  2. *                unix.c
  3. *
  4. *  This module implements UNIX specific routines.
  5. *
  6. *  from Persistence of Vision Raytracer 
  7. *  Copyright 1991 Persistence of Vision Team
  8. *---------------------------------------------------------------------------
  9. *  Copying, distribution and legal info is in the file povlegal.doc which
  10. *  should be distributed with this file. If povlegal.doc is not available
  11. *  or for more info please contact:
  12. *
  13. *       Drew Wells [POV-Team Leader] 
  14. *       CIS: 73767,1244  Internet: 73767.1244@compuserve.com
  15. *       Phone: (213) 254-4041
  16. * This program is based on the popular DKB raytracer version 2.12.
  17. * DKBTrace was originally written by David K. Buck.
  18. * DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
  19. *
  20. *****************************************************************************/
  21.  
  22. #include "frame.h"
  23. #include "config.h"
  24.  
  25. void unix_init_povray PARAMS ((void))
  26.    {
  27.    }
  28.  
  29. int matherr (x)
  30.    struct libm_exception *x;
  31.    {
  32. /*   switch(x->type) 
  33.      {
  34.      case DOMAIN:
  35.      case OVERFLOW:
  36.         x->retval = 1.0e17;
  37.         break;
  38.  
  39.      case SING:
  40.      case UNDERFLOW:
  41.         x->retval = 0.0;
  42.         break;
  43.  
  44.      default:
  45.         break;
  46.      }
  47.    return(1);
  48. */
  49.    }
  50.  
  51. void display_finished ()
  52.    {
  53.    }
  54.  
  55. void display_init ()
  56.    {
  57.    }
  58.  
  59. void display_close ()
  60.    {
  61.    }
  62.  
  63. void display_plot (x, y, Red, Green, Blue)
  64.    int x, y;
  65.    char Red, Green, Blue;
  66.    {
  67.    }
  68.