home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / BOOK / CHAP14 / LIGHTP.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-14  |  399 b   |  23 lines

  1. //
  2. //
  3. // File name: LightP.HPP
  4. //
  5. // Description: The structure for a point-light source
  6. //
  7. // Author: John De Goes
  8. //
  9. // Project: Cutting Edge 3D Game Programming
  10. //
  11.  
  12. #ifndef LIGHTPHPP
  13. #define LIGHTPHPP
  14.  
  15. // A point light source structure:
  16. struct PointLight {
  17. float X, Y, Z;
  18. PointLight ( float i, float j, float k ) { X = i; Y = j; Z = k; }
  19. };
  20.  
  21. extern PointLight Light;
  22.  
  23. #endif