From c89d21196bd99dc733c59813d9a7da8496dd3f7f Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 2 Aug 1997 16:23:47 +0000 Subject: [PATCH] Misc. tweaks. --- Main/GLmain.c | 9 ++++++--- Time/depend | 1 + Weather/weather.c | 14 ++++++++------ 3 files changed, 15 insertions(+), 9 deletions(-) diff --git a/Main/GLmain.c b/Main/GLmain.c index 73a2fdc5d..2f1ebbd39 100644 --- a/Main/GLmain.c +++ b/Main/GLmain.c @@ -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. * diff --git a/Time/depend b/Time/depend index 69e2cee1a..8c5772056 100644 --- a/Time/depend +++ b/Time/depend @@ -1 +1,2 @@ fg_timer.o: fg_timer.c fg_timer.h +sunpos.o: sunpos.c sunpos.h ../constants.h diff --git a/Weather/weather.c b/Weather/weather.c index e7f2b8701..e7ce4d217 100644 --- a/Weather/weather.c +++ b/Weather/weather.c @@ -39,20 +39,22 @@ void fgWeatherUpdate(double lon, double lat, double alt) { f = ¤t_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/ * -- 2.39.2