home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1999 March / PCShareware-3-99.iso / IMPLE / DJGPP.RAR / DJGPP2 / XLIB-APP.ZIP / TMP / ICO / OBJPLANE.H < prev    next >
Text File  |  1988-07-19  |  777b  |  21 lines

  1. /* objplane.h - structure values for plane */
  2.  
  3. {       "plane", "plane",       /* long and short names */
  4.         "cube",         /* long name of dual */
  5.         4, 4, 1,        /* number of vertices, edges, and faces */
  6.         {               /* vertices (x,y,z) */
  7.                         /* all points must be within radius 1 of the origin */
  8. #define T 1.0
  9.                 {  T,  0,  0 },
  10.                 { -T,  0,  0 },
  11.                 {  0,  T,  0 },
  12.                 {  0, -T,  0 },
  13. #undef T
  14.         },
  15.         {       /* faces (numfaces + indexes into vertices) */
  16.                 /*  faces must be specified clockwise from the outside */
  17.                 4,      0, 2, 1, 3,
  18.         }
  19. },              /* leave a comma to separate from the next include file */
  20. /* end */
  21.