MSVC++ fixes.

This commit is contained in:
curt
2000-10-19 22:27:27 +00:00
parent cd5765be1e
commit e4653be9a1
3 changed files with 11 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ CMetarStation::CMetarStation(
double ualtitude = atoi( s ) * FEET_TO_METER;
Point3D p( longitude, latitude, altitude+EQUATORIAL_RADIUS_M );
m_locationPolar = p;
m_locationCart = fgPolarToCart3d( p );
m_locationCart = sgPolarToCart3d( p );
Point3D up( ulongitude, ulatitude, ualtitude+EQUATORIAL_RADIUS_M );
m_upperLocationPolar = up;
m_upperLocationCart = fgPolarToCart3d( up );

View File

@@ -29,6 +29,8 @@
# include <config.h>
#endif
#include <simgear/compiler.h>
#include <stdio.h>
#include <iostream>
@@ -88,7 +90,7 @@ static int sgMoonHaloPreDraw( ssgEntity *e ) {
if ( f -> hasState () ) f->getState()->apply() ;
glPushAttrib( GL_DEPTH_BUFFER_BIT | GL_FOG_BIT | GL_COLOR_BUFFER_BIT);
cout << "push error = " << glGetError() << endl;
// cout << "push error = " << glGetError() << endl;
glDisable( GL_DEPTH_TEST );
glDisable( GL_FOG );
@@ -105,7 +107,7 @@ static int sgMoonHaloPostDraw( ssgEntity *e ) {
// glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
glPopAttrib();
cout << "pop error = " << glGetError() << endl;
// cout << "pop error = " << glGetError() << endl;
return true;
}

View File

@@ -1,5 +1,11 @@
// easyxml.cxx - implementation of EasyXML interfaces.
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <simgear/compiler.h>
#include "easyxml.hxx"
#include "xmlparse.h"