home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / directx / pplane / pplane.h < prev    next >
C/C++ Source or Header  |  1997-07-14  |  1KB  |  42 lines

  1. #ifndef PPLANE_H
  2. #define PPLANE_H
  3. /*
  4. **-----------------------------------------------------------------------------
  5. ** File:       PPlane.h
  6. ** Purpose:    Sample showing DrawPrimitive functionality 
  7. **
  8. ** Copyright (c) 1995 - 1997 by Microsoft, all rights reserved
  9. **-----------------------------------------------------------------------------
  10. */
  11.  
  12. /*
  13. **-----------------------------------------------------------------------------
  14. **    Include files
  15. **-----------------------------------------------------------------------------
  16. */
  17. #include "Common.h"
  18.  
  19.  
  20. /*
  21. **-----------------------------------------------------------------------------
  22. **    Type definitions
  23. **-----------------------------------------------------------------------------
  24. */
  25.  
  26. typedef struct t_plane {
  27.     D3DVECTOR    loc,    // current location
  28.                 goal,    // current goal
  29.                 delta;    // current direction
  30.     float        yaw, pitch, roll;
  31.     float        dyaw;
  32. } Plane;
  33.  
  34.  
  35. /*
  36. **-----------------------------------------------------------------------------
  37. **  End of File
  38. **-----------------------------------------------------------------------------
  39. */
  40. #endif // PPLANE_H
  41.  
  42.