]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/sky/oursun.cxx
warning fix: initializing members in the order they are declared keeps gcc happy
[simgear.git] / simgear / scene / sky / oursun.cxx
index cb1c5f662d340d7702ee30388d225ba0b0f0967f..8f5db650caac60f649cb26ba02d01e001bb4a229 100644 (file)
@@ -419,6 +419,12 @@ bool SGSun::reposition( double rightAscension, double declination,
 
 SGVec4f
 SGSun::get_color()
+{
+    return SGVec4f((*sun_cl)[0][0], (*sun_cl)[0][1], (*sun_cl)[0][2], (*sun_cl)[0][3]);
+}
+
+SGVec4f
+SGSun::get_scene_color()
 {
     return SGVec4f((*scene_cl)[0][0], (*scene_cl)[0][1], (*scene_cl)[0][2], (*scene_cl)[0][3]);
 }