1
0
Fork 0

Misc. tweaks.

This commit is contained in:
curt 1997-08-02 16:23:47 +00:00
parent dcda920723
commit c89d21196b
3 changed files with 15 additions and 9 deletions

View file

@ -59,7 +59,7 @@ struct aircraft_params current_aircraft;
static GLfloat win_ratio = 1.0; static GLfloat win_ratio = 1.0;
/* sun direction */ /* 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 */ /* temporary hack */
/* extern struct mesh *mesh_ptr; */ /* extern struct mesh *mesh_ptr; */
@ -655,9 +655,12 @@ int printf (const char *format, ...) {
/* $Log$ /* $Log$
/* Revision 1.42 1997/08/01 19:43:33 curt /* Revision 1.43 1997/08/02 16:23:47 curt
/* Making progress with coordinate system overhaul. /* 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 * Revision 1.41 1997/07/31 22:52:37 curt
* Working on redoing internal coordinate systems & scenery transformations. * Working on redoing internal coordinate systems & scenery transformations.
* *

View file

@ -1 +1,2 @@
fg_timer.o: fg_timer.c fg_timer.h fg_timer.o: fg_timer.c fg_timer.h
sunpos.o: sunpos.c sunpos.h ../constants.h

View file

@ -39,20 +39,22 @@ void fgWeatherUpdate(double lon, double lat, double alt) {
f = &current_aircraft.flight; f = &current_aircraft.flight;
/* Configure some wind */ /* Configure some wind */
FG_V_north_airmass = 15; /* ft/s =~ 10mph */ /* FG_V_north_airmass = 15; */ /* ft/s =~ 10mph */
FG_V_north_airmass = 0;
/* Add some random turbulence */ /* 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_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$ /* $Log$
/* Revision 1.3 1997/07/31 22:52:41 curt /* Revision 1.4 1997/08/02 16:23:55 curt
/* Working on redoing internal coordinate systems & scenery transformations. /* 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 * Revision 1.2 1997/07/30 16:12:44 curt
* Moved fg_random routines from Util/ to Math/ * Moved fg_random routines from Util/ to Math/
* *