From Eric Wing, pedantic warning fixes

This commit is contained in:
Robert Osfield
2007-04-06 15:36:13 +00:00
parent 0909bd04e4
commit 6d7b5e7ebd
38 changed files with 60 additions and 43 deletions

View File

@@ -135,6 +135,6 @@ private:
osg::ref_ptr<MatrixManipulator> _current;
};
};
}
#endif

View File

@@ -57,7 +57,7 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator
NODE_CENTER_AND_AZIM,
/** Tack the center of the node's bounding sphere, and the all rotations of the node.
*/
NODE_CENTER_AND_ROTATION,
NODE_CENTER_AND_ROTATION
};
void setTrackerMode(TrackerMode mode);
@@ -71,7 +71,7 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator
TRACKBALL,
/** Allow the elevation and azimuth angles to be adjust w.r.t the tracked orientation.
*/
ELEVATION_AZIM,
ELEVATION_AZIM
};
void setRotationMode(RotationMode mode);

View File

@@ -31,7 +31,7 @@ class OSGGA_EXPORT TerrainManipulator : public MatrixManipulator
enum RotationMode
{
ELEVATION_AZIM_ROLL,
ELEVATION_AZIM,
ELEVATION_AZIM
};
void setRotationMode(RotationMode mode);