1
0
Fork 0

Chnage the name to reflect the real unit of radians instead of degrees

This commit is contained in:
ehofman 2004-01-07 09:26:17 +00:00
parent 519fd99106
commit f279f4b065

View file

@ -134,12 +134,12 @@ void FGLight::reinit () {
void FGLight::bind () { void FGLight::bind () {
SGPropertyNode *prop = globals->get_props(); SGPropertyNode *prop = globals->get_props();
prop->tie("/sim/time/sun-pos-deg", SGRawValuePointer<double>(&_sun_angle)); prop->tie("/sim/time/sun-pos-rad", SGRawValuePointer<double>(&_sun_angle));
} }
void FGLight::unbind () { void FGLight::unbind () {
SGPropertyNode *prop = globals->get_props(); SGPropertyNode *prop = globals->get_props();
prop->untie("/sim/time/sun-pos-deg"); prop->untie("/sim/time/sun-pos-rad");
} }