home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / BOOK / CHAP09 / VECTOR3D.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-17  |  391 b   |  20 lines

  1. //
  2. // File name: Vector3D.HPP
  3. //
  4. // Description: The header file a vector class
  5. //
  6. // Author: John De Goes
  7. //
  8. // Project: Cutting Edge 3D Game Programming
  9. //
  10.  
  11. #ifndef VECTOR3DHPP
  12. #define VECTOR3DHPP
  13.  
  14. struct Vector {
  15.   float Tx, Ty, Tz; // The updated (transformed) X, Y, Z 
  16.                     // direction vector
  17.   float X, Y, Z;    // X, Y, Z direction vector
  18. };
  19.  
  20. #endif