From Eric Wing, compile fixes.

This commit is contained in:
Robert Osfield
2005-11-15 21:47:24 +00:00
parent 4e580f46cf
commit 47fcfa4cc5
3 changed files with 3 additions and 3 deletions

View File

@@ -199,7 +199,7 @@ namespace osgParticle
inline void transformPositionVelocity(const osg::Matrix& xform);
/// Transform position and velocity vectors by a combination of two matrices
void Particle::transformPositionVelocity(const osg::Matrix& xform1, const osg::Matrix& xform2, float r);
void transformPositionVelocity(const osg::Matrix& xform1, const osg::Matrix& xform2, float r);
/// Set the angle vector.
inline void setAngle(const osg::Vec3& a);

View File

@@ -91,7 +91,7 @@ public:
/** Tesselate the constraint loops so that the crossing points are interpolated
* and added to the contraints for the triangulation. */
void DelaunayConstraint::handleOverlaps(void);
void handleOverlaps(void);
protected:
virtual ~DelaunayConstraint() {}

View File

@@ -513,7 +513,7 @@ void DataSet::SourceData::readImage(DestinationData& destination)
// as RGB.
if( hasRGB )
{
GDALRasterBand* bandRed = bandRed = _gdalDataSet->GetRasterBand(1);
GDALRasterBand* bandRed = _gdalDataSet->GetRasterBand(1);
GDALRasterBand* bandGreen = _gdalDataSet->GetRasterBand(2);
GDALRasterBand* bandBlue = _gdalDataSet->GetRasterBand(3);
GDALRasterBand* bandAlpha = hasAlpha ? _gdalDataSet->GetRasterBand(4) : 0;