From: ehofman Date: Wed, 7 Jan 2004 09:26:17 +0000 (+0000) Subject: Chnage the name to reflect the real unit of radians instead of degrees X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f279f4b065a11f7c122129a4edb61cbe22240140;p=flightgear.git Chnage the name to reflect the real unit of radians instead of degrees --- diff --git a/src/Time/light.cxx b/src/Time/light.cxx index 6b88cca94..2ab9a44d9 100644 --- a/src/Time/light.cxx +++ b/src/Time/light.cxx @@ -134,12 +134,12 @@ void FGLight::reinit () { void FGLight::bind () { SGPropertyNode *prop = globals->get_props(); - prop->tie("/sim/time/sun-pos-deg", SGRawValuePointer(&_sun_angle)); + prop->tie("/sim/time/sun-pos-rad", SGRawValuePointer(&_sun_angle)); } void FGLight::unbind () { SGPropertyNode *prop = globals->get_props(); - prop->untie("/sim/time/sun-pos-deg"); + prop->untie("/sim/time/sun-pos-rad"); }