home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / BOOK / CHAP12 / VECTOR3D.HPP < prev   
C/C++ Source or Header  |  1996-01-24  |  404b  |  21 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, Td; // The updated (transformed) X, Y, Z
  16.                         // direction vector
  17.   float X, Y, Z, D;     // X, Y, Z direction vector
  18. };
  19.  
  20. #endif
  21.