]> git.mxchange.org Git - flightgear.git/commitdiff
Chnage the name to reflect the real unit of radians instead of degrees
authorehofman <ehofman>
Wed, 7 Jan 2004 09:26:17 +0000 (09:26 +0000)
committerehofman <ehofman>
Wed, 7 Jan 2004 09:26:17 +0000 (09:26 +0000)
src/Time/light.cxx

index 6b88cca94d8925f42fb52267ddbf23b57ebf67f5..2ab9a44d96326d42e6f335f64e931f5c778e32fb 100644 (file)
@@ -134,12 +134,12 @@ void FGLight::reinit () {
 
 void FGLight::bind () {
     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 () {
     SGPropertyNode *prop = globals->get_props();
-    prop->untie("/sim/time/sun-pos-deg");
+    prop->untie("/sim/time/sun-pos-rad");
 }