Introduced osgVolume::Layer and Locator classes mirrroring similar classes in osgTerrain.

This commit is contained in:
Robert Osfield
2009-01-05 11:26:26 +00:00
parent 788bead9fe
commit cedffd3adb
8 changed files with 549 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ void Locator::setTransformAsExtents(double minX, double minY, double maxX, doubl
_inverse.invert(_transform);
}
bool Locator::computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight)
bool Locator::computeLocalBounds(Locator& source, osg::Vec3d& bottomLeft, osg::Vec3d& topRight) const
{
typedef std::list<osg::Vec3d> Corners;
Corners corners;