home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / GRAPHICS / rayshade.lzh / atmosphere.h < prev    next >
Text File  |  1990-05-08  |  1KB  |  37 lines

  1. /*
  2.  * Copyright (C) 1989, Craig E. Kolb
  3.  *
  4.  * This software may be freely copied, modified, and redistributed,
  5.  * provided that this copyright notice is preserved on all copies.
  6.  * 
  7.  * There is no warranty or other guarantee of fitness for this software,
  8.  * it is provided solely "as is".  Bug reports or fixes may be sent
  9.  * to the author, who may or may not act on them as he desires.
  10.  *
  11.  * You may not include this software in a program or other software product
  12.  * without supplying the source, or without informing the end-user that the 
  13.  * source is available for no extra charge.
  14.  *
  15.  * If you modify this software, you should include a notice giving the
  16.  * name of the person performing the modification, the date of modification,
  17.  * and the reason for such modification.
  18.  *
  19.  * $Id: atmosphere.h,v 3.0 89/11/16 20:40:53 craig Exp Locker: craig $
  20.  *
  21.  * $Log:    atmosphere.h,v $
  22.  * Revision 3.0  89/11/16  20:40:53  craig
  23.  * Initial version.
  24.  * 
  25.  */
  26.  
  27. typedef struct {
  28.     Color color;        /* Fog color */
  29.     double trans;        /* Fog transmissivity */
  30. } Fog;
  31.  
  32. typedef struct {
  33.     Color color;        /* Mist color */
  34.     Color trans;        /* R, G, B transmissivity */
  35.     double scale, zero;    /* Height scale, start Z */
  36. } Mist;
  37.