home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / utils / pvgen1.lzh / pvlib.h next >
Encoding:
C/C++ Source or Header  |  1992-06-22  |  1.5 KB  |  54 lines

  1. #include <stdio.h>
  2. #include <string.h>
  3. #include <math.h>
  4.  
  5.  
  6. /*-----------------------------------------------------------------\
  7. | Data Structures - POV Library Functions          06/22/92 |
  8. \-----------------------------------------------------------------*/
  9.  
  10. struct POVData {
  11.         double x1, y1, z1;
  12.         double x2, y2, z2;
  13.         double x3, y3, z3;
  14.         double xMidpt, yMidpt, zMidpt;
  15.         double xTrans, yTrans, zTrans;
  16.         double xScale, yScale, zScale;
  17.         double radius;
  18.         double aspect;            /* Screen Aspect Ratio     */
  19.         double LocX, LocY, LocZ;    /* Scene Viewpoint     */
  20.         double AtX, AtY, AtZ;        /* Center of Interest     */
  21.         } POVD;
  22.  
  23. struct POVFile {
  24.         char FileStat[10];        /* File Creation Status      */
  25.         char FileName[80];        /* POV File Name      */
  26.         char ObjStat[10];        /* Object Creation Status */
  27.         char Object[80];        /* POV Object Name      */
  28.         char CapCyl[10];        /* Capped Cylinder Status */
  29.         char FileIn[80];        /* Input Filename      */
  30.         FILE *in;            /* Input File          */
  31.         FILE *out;            /* Output File          */
  32.         char FileFormat[10];        /* DKB or POV Output File */
  33.         } POVF;
  34.  
  35.  
  36. /*-----------------------------------------------------------------\
  37. | Prototype Declarations - POV Library Functions      06/22/92 |
  38. \-----------------------------------------------------------------*/
  39.  
  40. void  pvACube(void);
  41. void  pvAXCyl(void);
  42. void  pvAYCyl(void);
  43. void  pvAZCyl(void);
  44. void   pvASph(void);
  45. void   pvATri(void);
  46. int    pvAInc(void);
  47. int   pvAView(void);
  48. int  pvALight(void);
  49.  
  50. int   pvSFile(void);
  51. int   pvEFile(void);
  52. int    pvSObj(void);
  53. int    pvEObj(void);
  54.