home *** CD-ROM | disk | FTP | other *** search
/ Mega CD-ROM 1 / megacd_rom_1.zip / megacd_rom_1 / IRIT / IRITS.ZIP / PRIMITVL.H < prev    next >
C/C++ Source or Header  |  1990-05-05  |  1KB  |  24 lines

  1. /*****************************************************************************
  2. *   "Irit" - the 3d polygonal solid modeller.                     *
  3. *                                         *
  4. * Written by:  Gershon Elber                Ver 0.2, Mar. 1990   *
  5. ******************************************************************************
  6. * General, local to module, definitions of primitiv module.             *
  7. *****************************************************************************/
  8.  
  9. #ifndef    PRIMITIVE_LH
  10. #define    PRIMITIVE_LH
  11.  
  12. #define    MIN_RESOLUTION 4
  13.  
  14. static int GetResolution(void);
  15. static struct PolygonStruct *GenInsidePoly(PolygonStruct *Pl);
  16. static struct PolygonStruct *GenPolygon4Vrtx(VectorType V1, VectorType V2,
  17.     VectorType V3, VectorType V4, VectorType Vin, PolygonStruct *Pnext);
  18. static struct PolygonStruct *GenPolygon3Vrtx(VectorType V1, VectorType V2,
  19.             VectorType V3, VectorType Vin, PolygonStruct *Pnext);
  20. static void GenTransformMatrix(MatrixType Mat, VectorType Trans,
  21.                         VectorType Dir, RealType Scale);
  22.  
  23. #endif    /* PRIMITIVE_LH */
  24.