From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin
This commit is contained in:
@@ -14,15 +14,15 @@
|
||||
#ifndef OSG_ANIMATIONPATH
|
||||
#define OSG_ANIMATIONPATH 1
|
||||
|
||||
#include <map>
|
||||
#include <istream>
|
||||
#include <float.h>
|
||||
|
||||
#include <osg/Matrixf>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Quat>
|
||||
#include <osg/NodeCallback>
|
||||
|
||||
#include <map>
|
||||
#include <istream>
|
||||
#include <float.h>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** AnimationPath for specify the time varying transformation pathway to use when update camera and model objects.
|
||||
|
||||
@@ -14,14 +14,15 @@
|
||||
#ifndef OSG_ARRAY
|
||||
#define OSG_ARRAY 1
|
||||
|
||||
#include <osg/Object>
|
||||
#include <osg/GL>
|
||||
#include <vector>
|
||||
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osg/UByte4>
|
||||
|
||||
#include <vector>
|
||||
#include <osg/Object>
|
||||
#include <osg/GL>
|
||||
|
||||
namespace osg {
|
||||
|
||||
|
||||
@@ -14,9 +14,9 @@
|
||||
#ifndef OSG_AUTOTRANSFORM
|
||||
#define OSG_AUTOTRANSFORM 1
|
||||
|
||||
#include <osg/AnimationPath>
|
||||
#include <osg/Group>
|
||||
#include <osg/Transform>
|
||||
#include <osg/AnimationPath>
|
||||
#include <osg/Quat>
|
||||
|
||||
namespace osg {
|
||||
|
||||
@@ -147,7 +147,7 @@ inline void EllipsoidModel::convertLatLongHeightToXYZ(double latitude, double lo
|
||||
double N = _radiusEquator / sqrt( 1.0 - _eccentricitySquared*sin_latitude*sin_latitude);
|
||||
X = (N+height)*cos_latitude*cos(longitude);
|
||||
Y = (N+height)*cos_latitude*sin(longitude);
|
||||
Z = (N*(1-_eccentricitySquared)+height)*sin(latitude);
|
||||
Z = (N*(1-_eccentricitySquared)+height)*sin_latitude;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
#include <osg/Vec2f>
|
||||
|
||||
#include <ostream>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** General purpose double pair, uses include representation of
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
#ifndef OSG_VEC2F
|
||||
#define OSG_VEC2F 1
|
||||
|
||||
#include <osg/Math>
|
||||
|
||||
#include <ostream>
|
||||
|
||||
#include <osg/Math>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** General purpose float pair, uses include representation of
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <ostream>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** General purpose double triple for use as vertices, vectors and normals.
|
||||
|
||||
@@ -14,10 +14,10 @@
|
||||
#ifndef OSG_VEC3F
|
||||
#define OSG_VEC3F 1
|
||||
|
||||
#include <osg/Math>
|
||||
|
||||
#include <ostream>
|
||||
|
||||
#include <osg/Math>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** General purpose float triple for use as vertices, vectors and normals.
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
|
||||
#include <osg/Vec3f>
|
||||
|
||||
#include <ostream>
|
||||
|
||||
namespace osg {
|
||||
|
||||
/** General purpose float quad, uses include representation
|
||||
|
||||
Reference in New Issue
Block a user