Fix missing includes
When SimGear header files are included in a particular order, these missing includes can cause the compilation to fail.
This commit is contained in:
parent
6285a409ed
commit
5b71ede2ea
@ -19,6 +19,7 @@
|
||||
#define SGGeod_H
|
||||
|
||||
#include <simgear/constants.h>
|
||||
#include <simgear/math/SGVec3.hxx>
|
||||
|
||||
// #define SG_GEOD_NATIVE_DEGREE
|
||||
|
||||
|
@ -20,6 +20,10 @@
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
#include <simgear/math/SGLimits.hxx>
|
||||
#include <simgear/math/SGMisc.hxx>
|
||||
#include <simgear/math/SGMathFwd.hxx>
|
||||
|
||||
/// 2D Vector Class
|
||||
template<typename T>
|
||||
class SGVec2 {
|
||||
|
@ -20,6 +20,9 @@
|
||||
|
||||
#include <iosfwd>
|
||||
|
||||
#include <simgear/math/SGVec2.hxx>
|
||||
#include <simgear/math/SGGeodesy.hxx>
|
||||
|
||||
/// 3D Vector Class
|
||||
template<typename T>
|
||||
class SGVec3 {
|
||||
|
Loading…
Reference in New Issue
Block a user