From f279f4b065a11f7c122129a4edb61cbe22240140 Mon Sep 17 00:00:00 2001 From: ehofman Date: Wed, 7 Jan 2004 09:26:17 +0000 Subject: [PATCH] Chnage the name to reflect the real unit of radians instead of degrees --- src/Time/light.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.39.5