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:
@@ -19,6 +19,7 @@
|
|||||||
#define SGGeod_H
|
#define SGGeod_H
|
||||||
|
|
||||||
#include <simgear/constants.h>
|
#include <simgear/constants.h>
|
||||||
|
#include <simgear/math/SGVec3.hxx>
|
||||||
|
|
||||||
// #define SG_GEOD_NATIVE_DEGREE
|
// #define SG_GEOD_NATIVE_DEGREE
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,10 @@
|
|||||||
|
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
|
|
||||||
|
#include <simgear/math/SGLimits.hxx>
|
||||||
|
#include <simgear/math/SGMisc.hxx>
|
||||||
|
#include <simgear/math/SGMathFwd.hxx>
|
||||||
|
|
||||||
/// 2D Vector Class
|
/// 2D Vector Class
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class SGVec2 {
|
class SGVec2 {
|
||||||
|
|||||||
@@ -20,6 +20,9 @@
|
|||||||
|
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
|
|
||||||
|
#include <simgear/math/SGVec2.hxx>
|
||||||
|
#include <simgear/math/SGGeodesy.hxx>
|
||||||
|
|
||||||
/// 3D Vector Class
|
/// 3D Vector Class
|
||||||
template<typename T>
|
template<typename T>
|
||||||
class SGVec3 {
|
class SGVec3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user