home *** CD-ROM | disk | FTP | other *** search
/ Dream 44 / Amiga_Dream_44.iso / Amiga / pov / utils / shelly16.lha / shelly / src / shelly.h < prev   
C/C++ Source or Header  |  1994-12-29  |  1KB  |  70 lines

  1. /* Header for ShellyV1.6 - the ShellShapeGenerator */
  2. /* by RANDi:                                       */
  3. /*        (rschultz@informatik.uni-rostock.de)     */
  4.  
  5. #define pi 3.141592654
  6. #define laenge 255
  7.  
  8. /* output-types */
  9.  
  10. #define POV 1
  11. #define RPL 2
  12. #define T3D 3
  13. #define RAW 4
  14. #define X3D 5
  15. #define BEZ 6
  16. /* calculation-modi */
  17.  
  18. #define NORMAL 1
  19. #define NODULE 2
  20. #define NEWNOD 3
  21.  
  22.  
  23. #define NO 0
  24. #define YES 1
  25.  
  26. struct punkt
  27.   {
  28.     struct punkt *next;
  29.     double x, y, z, s;
  30.   };
  31.  
  32. struct pmerk
  33.   {
  34.     struct pmerk *next;
  35.     int id;
  36.     double x, y, z;
  37.   };
  38.  
  39. struct lmerk
  40.   {
  41.     struct lmerk *next;
  42.     int id, id1, id2;
  43.   };
  44.  
  45. struct tmerk
  46.   {
  47.     struct tmerk *next;
  48.     int lid1, lid2, lid3;
  49.     int pid1, pid2, pid3;
  50.   };
  51.  
  52. struct triangle
  53.   {
  54.     struct triangle *next;
  55.     struct punkt *p1, *p2, *p3;
  56.   };
  57.  
  58. struct ShellyArguments
  59.   {
  60.     double alpha, beta, phi, my, omega, omin, omax, smin, smax, A, a, b,
  61.       P, W1, W2, N, L;
  62.     double od, sd, Scale;
  63.     double P2, W12, W22, N2, L2, Off2, P3, W13, W23, N3, L3, Off3;
  64.     double heightdiffo, heightdiffs, Scans, Scano;
  65.     char povargs[laenge], animto[laenge];
  66.     double camx, camy, camz;
  67.     int output, mode, Render;
  68.     int anim,steps;
  69.   };
  70.