home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / BOOK / CHAP08 / 3DCLASS.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-04-19  |  813 b   |  45 lines

  1. //
  2. // File name: 3DClass.HPP
  3. //
  4. // Description: Assorted functions and variables
  5. //
  6. // Author: John De Goes
  7. //
  8. // Project: Cutting Edge 3D Game Programming
  9. //
  10.  
  11. #ifndef _3DCLASSHPP
  12. #define _3DCLASSHPP
  13.  
  14. #include <Stdio.h>
  15. #include <String.h>
  16.  
  17. #include "SinCos.HPP"
  18. #include "Point2D.HPP"
  19. #include "Point3D.HPP"
  20. #include "Vector3D.HPP"
  21. #include "Matrix3D.HPP"
  22. #include "ATypes.HPP"
  23. #include "Panel3D.HPP"
  24. #include "PolyObj.HPP"
  25.  
  26. #define PI      3.141592654
  27. #define MINX    10
  28. #define MAXX    309
  29. #define MINY    10
  30. #define MAXY    189
  31. #define WIDTH   320
  32. #define HEIGHT  200
  33. #define XCENTER 160
  34. #define YCENTER 100
  35. #define MINZ    100.0F
  36. #define MAXZ    10000.0F
  37. #define XSCALE  120
  38. #define YSCALE -120
  39.  
  40. extern long *ZBuffer;
  41. extern long ZTrans;
  42.  
  43. void InitMath ();
  44. #endif
  45.