1
0
Fork 0

Output message tweaks.

This commit is contained in:
curt 1998-07-24 21:42:25 +00:00
parent a7cf4f0a53
commit 3786e0665c
2 changed files with 12 additions and 5 deletions

View file

@ -31,7 +31,7 @@
#endif
#ifdef __sun__
#if defined ( __sun__ )
extern "C" void *memmove(void *, const void *, size_t);
extern "C" void *memset(void *, int, size_t);
#endif
@ -39,6 +39,7 @@ extern "C" void *memset(void *, int, size_t);
#include <deque> // STL double ended queue
#include <list> // STL list
#ifdef NEEDNAMESPACESTD
using namespace std;
#endif
@ -124,6 +125,9 @@ extern fgEVENT_MGR global_events;
// $Log$
// Revision 1.6 1998/07/24 21:42:25 curt
// Output message tweaks.
//
// Revision 1.5 1998/07/13 21:02:07 curt
// Wrote access functions for current fgOPTIONS.
//

View file

@ -173,8 +173,8 @@ void fgLIGHT::UpdateAdjFog( void ) {
rotation -= FG_2PI;
}
rotation *= RAD_TO_DEG;
fgPrintf( FG_EVENT, FG_INFO,
" View to sun difference in degrees = %.2f\n", rotation);
// fgPrintf( FG_EVENT, FG_INFO,
// " View to sun difference in degrees = %.2f\n", rotation);
// next check if we are in a sunset/sunrise situation
sun_angle_deg = sun_angle * RAD_TO_DEG;
@ -191,12 +191,12 @@ void fgLIGHT::UpdateAdjFog( void ) {
param2[0] = param1[0] * (180.0 - rotation) / 180.0;
param2[1] = param1[1] * (180.0 - rotation) / 180.0;
param2[2] = param1[2] * (180.0 - rotation) / 180.0;
printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
// printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
} else {
param2[0] = param1[0] * (rotation - 180.0) / 180.0;
param2[1] = param1[1] * (rotation - 180.0) / 180.0;
param2[2] = param1[2] * (rotation - 180.0) / 180.0;
printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
// printf("param1[0] = %.2f param2[0] = %.2f\n", param1[0], param2[0]);
}
adj_fog_color[0] = fog_color[0] + param2[0];
@ -227,6 +227,9 @@ void fgLightUpdate ( void ) {
// $Log$
// Revision 1.13 1998/07/24 21:42:26 curt
// Output message tweaks.
//
// Revision 1.12 1998/07/22 21:45:38 curt
// fg_time.cxx: Removed call to ctime() in a printf() which should be harmless
// but seems to be triggering a bug.