home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 3 / Amiga Tools 3.iso / grafik / raytracing / rayshade-4.0.6.3 / libray / libtext / fbm.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-09  |  1.1 KB  |  49 lines

  1. /*
  2.  * fbm.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.  * fbm.h,v 4.1 1994/08/09 08:02:34 explorer Exp
  17.  *
  18.  * fbm.h,v
  19.  * Revision 4.1  1994/08/09  08:02:34  explorer
  20.  * Bump version to 4.1
  21.  *
  22.  * Revision 1.1.1.1  1994/08/08  04:52:14  explorer
  23.  * Initial import.  This is a prerelease of 4.0.6enh3, or 4.1 possibly.
  24.  *
  25.  * Revision 4.0  91/07/17  14:42:11  kolb
  26.  * Initial version.
  27.  * 
  28.  */
  29. #ifndef FBM_H
  30. #define FBM_H
  31.  
  32. #define TextFBmCreate(o,s,h,l,n,t,m) TextCreate( \
  33.             (TextRef)FBmCreate(o,s,h,l,n,t,m), FBmApply)
  34. typedef struct {
  35.     Float    beta,
  36.         omega,
  37.         lambda,
  38.         scale,
  39.         offset,
  40.         thresh;
  41.     int    octaves;
  42.     Color    *colormap;
  43. } FBm;
  44.  
  45. extern FBm *FBmCreate();
  46. extern void FBmApply();
  47.  
  48. #endif /* FBM_H */
  49.