home *** CD-ROM | disk | FTP | other *** search
/ Cutting-Edge 3D Game Programming with C++ / CE3DC++.ISO / BOOK / CHAP12 / LIGHTP.HPP < prev    next >
C/C++ Source or Header  |  1996-01-24  |  339b  |  20 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. double X, Y, Z;
  18. } Light = { 1000.0F, 100.0F, 4.0F };
  19.  
  20. #endif