#endif // _LIGHT_HXX
-// $Log$
-// Revision 1.9 1999/03/22 02:08:17 curt
-// Changes contributed by Durk Talsma:
-//
-// Here's a few changes I made to fg-0.58 this weekend. Included are the
-// following features:
-// - Sun and moon have a halo
-// - The moon has a light vector, moon_angle, etc. etc. so that we can have
-// some moonlight during the night.
-// - Lot's of small changes tweakes, including some stuff Norman Vine sent
-// me earlier.
-//
-// Revision 1.8 1998/10/16 00:56:10 curt
-// Converted to Point3D class.
-//
-// Revision 1.7 1998/08/29 13:11:33 curt
-// Bernie Bright writes:
-// I've created some new classes to enable pointers-to-functions and
-// pointers-to-class-methods to be treated like objects. These objects
-// can be registered with fgEVENT_MGR.
-//
-// File "Include/fg_callback.hxx" contains the callback class defns.
-//
-// Modified fgEVENT and fgEVENT_MGR to use the callback classes. Also
-// some minor tweaks to STL usage.
-//
-// Added file "Include/fg_stl_config.h" to deal with STL portability
-// issues. I've added an initial config for egcs (and probably gcc-2.8.x).
-// I don't have access to Visual C++ so I've left that for someone else.
-// This file is influenced by the stl_config.h file delivered with egcs.
-//
-// Added "Include/auto_ptr.hxx" which contains an implementation of the
-// STL auto_ptr class which is not provided in all STL implementations
-// and is needed to use the callback classes.
-//
-// Deleted fgLightUpdate() which was just a wrapper to call
-// fgLIGHT::Update().
-//
-// Modified fg_init.cxx to register two method callbacks in place of the
-// old wrapper functions.
-//
-// Revision 1.6 1998/07/22 21:45:39 curt
-// fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
-// but seems to be triggering a bug.
-// light.cxx: Added code to adjust fog color based on sunrise/sunset effects
-// and view orientation. This is an attempt to match the fog color to the
-// sky color in the center of the screen. You see discrepancies at the
-// edges, but what else can be done?
-// sunpos.cxx: Caculate local direction to sun here. (what compass direction
-// do we need to face to point directly at sun)
-//
-// Revision 1.5 1998/07/08 14:48:39 curt
-// polar3d.h renamed to polar3d.hxx
-//
-// Revision 1.4 1998/05/20 20:54:17 curt
-// Converted fgLIGHT to a C++ class.
-//
-// Revision 1.3 1998/05/02 01:53:18 curt
-// Fine tuning mktime() support because of varying behavior on different
-// platforms.
-//
-// Revision 1.2 1998/04/24 00:52:31 curt
-// Wrapped "#include <config.h>" in "#ifdef HAVE_CONFIG_H"
-// Fog color fixes.
-// Separated out lighting calcs into their own file.
-//
-// Revision 1.1 1998/04/22 13:24:06 curt
-// C++ - ifiing the code a bit.
-// Starting to reorginize some of the lighting calcs to use a table lookup.
-//
-//