Added missing <cmath> header for Mac to compile.
This commit is contained in:
parent
c1313f2ecb
commit
cdf299391d
1 changed files with 2 additions and 14 deletions
|
@ -21,7 +21,7 @@
|
||||||
//
|
//
|
||||||
// $Id$
|
// $Id$
|
||||||
|
|
||||||
#include <math.h>
|
#include <cmath>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <simgear/structure/SGSharedPtr.hxx>
|
#include <simgear/structure/SGSharedPtr.hxx>
|
||||||
#include <simgear/math/SGVec3.hxx>
|
#include <simgear/math/SGVec3.hxx>
|
||||||
|
@ -58,19 +58,7 @@ void AIWakeGroup::AddAI(FGAIAircraft* ai)
|
||||||
_aiWakeData[id] = AIWakeData(new WakeMesh(span, chord));
|
_aiWakeData[id] = AIWakeData(new WakeMesh(span, chord));
|
||||||
|
|
||||||
SG_LOG(SG_FLIGHT, SG_DEV_ALERT,
|
SG_LOG(SG_FLIGHT, SG_DEV_ALERT,
|
||||||
"Created mesh for " << ai->_getName() << " ID: #" << id
|
"Created mesh for " << ai->_getName() << " ID: #" << id);
|
||||||
// << "Type:" << ai->getAcType() << endl
|
|
||||||
// << "Name:" << ai->_getName() << endl
|
|
||||||
// << "Speed:" << ai->getSpeed() << endl
|
|
||||||
// << "Vertical speed:" << ai->getVerticalSpeed() << endl
|
|
||||||
// << "Altitude:" << ai->getAltitude() << endl
|
|
||||||
// << "Heading:" << ai->_getHeading() << endl
|
|
||||||
// << "Roll:" << ai->getRoll() << endl
|
|
||||||
// << "Pitch:" << ai->getPitch() << endl
|
|
||||||
// << "Wing span (ft):" << span << endl
|
|
||||||
// << "Wing chord (ft):" << chord << endl
|
|
||||||
// << "Weight (lbs):" << perfData->weight() << endl
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
AIWakeData& data = _aiWakeData[id];
|
AIWakeData& data = _aiWakeData[id];
|
||||||
|
|
Loading…
Add table
Reference in a new issue