Time: Renamed the sunsolver.cxx to bodysolver.cxx.
This is in preparation for generalising the code for handling all solar system bodies.
This commit is contained in:
parent
af8625e4ac
commit
0ba2e8708e
5 changed files with 8 additions and 8 deletions
|
@ -3,13 +3,13 @@ include(FlightGearComponent)
|
|||
set(SOURCES
|
||||
TimeManager.cxx
|
||||
light.cxx
|
||||
sunsolver.cxx
|
||||
bodysolver.cxx
|
||||
)
|
||||
|
||||
set(HEADERS
|
||||
TimeManager.hxx
|
||||
light.hxx
|
||||
sunsolver.hxx
|
||||
bodysolver.hxx
|
||||
)
|
||||
|
||||
flightgear_component(Time "${SOURCES}" "${HEADERS}")
|
||||
flightgear_component(Time "${SOURCES}" "${HEADERS}")
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
#include <Main/fg_props.hxx>
|
||||
#include <Main/globals.hxx>
|
||||
#include <Time/sunsolver.hxx>
|
||||
#include <Time/bodysolver.hxx>
|
||||
|
||||
using std::string;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* sunsolver.cxx - given a location on earth and a time of day/date,
|
||||
* bodysolver.cxx - given a location on earth and a time of day/date,
|
||||
* find the number of seconds to various sun positions.
|
||||
*
|
||||
* Written by Curtis Olson, started September 2003.
|
||||
|
@ -37,7 +37,7 @@
|
|||
#include <Main/globals.hxx>
|
||||
#include <Main/fg_props.hxx>
|
||||
|
||||
#include "sunsolver.hxx"
|
||||
#include "bodysolver.hxx"
|
||||
|
||||
|
||||
static const time_t day_secs = 86400;
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* sunsolver.hxx - given a location on earth and a time of day/date,
|
||||
* bodysolver.hxx - given a location on earth and a time of day/date,
|
||||
* find the number of seconds to various sun positions.
|
||||
*
|
||||
* Written by Curtis Olson, started September 2003.
|
|
@ -46,7 +46,7 @@
|
|||
#include <Viewer/view.hxx>
|
||||
|
||||
#include "light.hxx"
|
||||
#include "sunsolver.hxx"
|
||||
#include "bodysolver.hxx"
|
||||
|
||||
// Constructor
|
||||
FGLight::FGLight ()
|
||||
|
|
Loading…
Add table
Reference in a new issue