]> git.mxchange.org Git - flightgear.git/commitdiff
Misc. tweaks.
authorcurt <curt>
Sat, 2 Aug 1997 16:23:47 +0000 (16:23 +0000)
committercurt <curt>
Sat, 2 Aug 1997 16:23:47 +0000 (16:23 +0000)
Main/GLmain.c
Time/depend
Weather/weather.c

index 73a2fdc5d9bcaf450e40c9fdeeadaedf506ecb97..2f1ebbd3961efa049ebe366733c629e497381204 100644 (file)
@@ -59,7 +59,7 @@ struct aircraft_params current_aircraft;
 static GLfloat win_ratio = 1.0;
 
 /* sun direction */
-static GLfloat sun_vec[4] = {-3.0, 1.0, 2.0, 0.0 };
+static GLfloat sun_vec[4] = {0.2948, 0.7816, -0.5498, 0.0 };
 
 /* temporary hack */
 /* extern struct mesh *mesh_ptr; */
@@ -655,9 +655,12 @@ int printf (const char *format, ...) {
 
 
 /* $Log$
-/* Revision 1.42  1997/08/01 19:43:33  curt
-/* Making progress with coordinate system overhaul.
+/* Revision 1.43  1997/08/02 16:23:47  curt
+/* Misc. tweaks.
 /*
+ * Revision 1.42  1997/08/01 19:43:33  curt
+ * Making progress with coordinate system overhaul.
+ *
  * Revision 1.41  1997/07/31 22:52:37  curt
  * Working on redoing internal coordinate systems & scenery transformations.
  *
index 69e2cee1a7be0b2ba32024784fa2665529bd19d6..8c5772056171f93053b2ce04b5ee6ef51f087323 100644 (file)
@@ -1 +1,2 @@
 fg_timer.o: fg_timer.c fg_timer.h
+sunpos.o: sunpos.c sunpos.h ../constants.h
index e7f2b8701cff836ce64625efd45ab8fe3545983b..e7ce4d217a67e8887726df51063994ba4614c41d 100644 (file)
@@ -39,20 +39,22 @@ void fgWeatherUpdate(double lon, double lat, double alt) {
     f = &current_aircraft.flight;
 
     /* Configure some wind */
-    FG_V_north_airmass = 15; /* ft/s =~ 10mph */
-    FG_V_north_airmass = 0; 
+    /* FG_V_north_airmass = 15; */ /* ft/s =~ 10mph */
 
     /* Add some random turbulence */
-    FG_U_gust = fg_random() * 1.0 - 0.5;
+    /* FG_U_gust = fg_random() * 1.0 - 0.5;
     FG_V_gust = fg_random() * 1.0 - 0.5;
-    FG_W_gust = fg_random() * 1.0 - 0.5;
+    FG_W_gust = fg_random() * 1.0 - 0.5; */
 
 }
 
 /* $Log$
-/* Revision 1.3  1997/07/31 22:52:41  curt
-/* Working on redoing internal coordinate systems & scenery transformations.
+/* Revision 1.4  1997/08/02 16:23:55  curt
+/* Misc. tweaks.
 /*
+ * Revision 1.3  1997/07/31 22:52:41  curt
+ * Working on redoing internal coordinate systems & scenery transformations.
+ *
  * Revision 1.2  1997/07/30 16:12:44  curt
  * Moved fg_random routines from Util/ to Math/
  *