1
0
Fork 0

Name the property sun-angle-rad instead of sun-pos-rad to make it a bit more descriptive

This commit is contained in:
ehofman 2004-01-07 22:51:28 +00:00
parent 46877af1a7
commit 1fa7a1464f

View file

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