]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sky/cloud.cxx
Preserve initial "state" by careful use of glPushAttrib() and glPopAttrib()
[simgear.git] / simgear / sky / cloud.cxx
index 5d6ec288deb9aded15a9ab8198c0957ee50798d5..0b439771871d91d5a2aadffe959cc98c9b073ad4 100644 (file)
@@ -162,9 +162,9 @@ bool SGCloudLayer::reposition( sgVec3 p, sgVec3 up, double lon, double lat,
 
     // Rotate to proper orientation
     // printf("  lon = %.2f  lat = %.2f\n", 
-    //        FG_Longitude * SGD_RADIANS_TO_DEGREES,
-    //        FG_Latitude * SGD_RADIANS_TO_DEGREES);
-    // xglRotatef( f->get_Longitude() * SGD_RADIANS_TO_DEGREES, 0.0, 0.0, 1.0 );
+    //        lon * SGD_RADIANS_TO_DEGREES,
+    //        lat * SGD_RADIANS_TO_DEGREES);
+    // xglRotatef( lon * SGD_RADIANS_TO_DEGREES, 0.0, 0.0, 1.0 );
     sgSetVec3( axis, 0.0, 0.0, 1.0 );
     sgMakeRotMat4( LON, lon * SGD_RADIANS_TO_DEGREES, axis );