From Norman Vine (with small tweaks by Robert Osfield), build fixes for Cygwin

This commit is contained in:
Robert Osfield
2004-08-04 08:27:43 +00:00
parent 041b664660
commit 7eb3f2646e
33 changed files with 137 additions and 111 deletions

View File

@@ -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.

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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;
}

View File

@@ -16,8 +16,6 @@
#include <osg/Vec2f>
#include <ostream>
namespace osg {
/** General purpose double pair, uses include representation of

View File

@@ -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

View File

@@ -16,8 +16,6 @@
#include <osg/Vec3f>
#include <ostream>
namespace osg {
/** General purpose double triple for use as vertices, vectors and normals.

View File

@@ -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.

View File

@@ -16,8 +16,6 @@
#include <osg/Vec3f>
#include <ostream>
namespace osg {
/** General purpose float quad, uses include representation