home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / msdos / raytrace / rayshade / src / cloud.h < prev    next >
C/C++ Source or Header  |  1991-07-18  |  1KB  |  43 lines

  1. /*
  2.  * cloud.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * $Id: cloud.h,v 4.0 91/07/17 14:42:00 kolb Exp Locker: kolb $
  17.  *
  18.  * $Log:    cloud.h,v $
  19.  * Revision 4.0  91/07/17  14:42:00  kolb
  20.  * Initial version.
  21.  * 
  22.  */
  23. #ifndef CLOUDTEXT_H
  24.  
  25. #define TextCloudCreate(s,h,l,n,c,o,t) TextCreate( \
  26.             (TextRef)CloudTextCreate(s,h,l,n,c,o,t), CloudTextApply)
  27. typedef struct {
  28.     Float    beta,
  29.         omega,
  30.         lambda,
  31.         scale,
  32.         cthresh,
  33.         range,
  34.         transcale,
  35.         maxval;
  36.     int    octaves;
  37. } CloudText;
  38.  
  39. extern CloudText *CloudTextCreate();
  40. extern void CloudTextApply();
  41.  
  42. #endif /* CLOUDTEXT_H */
  43.