Refactored the PagedLODList implementation so that it's now done via a base class that enables different implementations to be easily tried. Initial concrete PagedLODList is the SetBasedPagedLODList.

This commit is contained in:
Robert Osfield
2010-06-03 14:14:40 +00:00
parent 363736303e
commit 2ea6aa050e
3 changed files with 207 additions and 172 deletions

View File

@@ -54,7 +54,7 @@ public:
osg::Timer_t start = osg::Timer::instance()->tick();
osgDB::DatabasePager::updateSceneGraph(frameStamp);
double d = osg::Timer::instance()->delta_m(start, osg::Timer::instance()->tick());
std::cout << "DatabasePager update took " << d << " ms. Length of active nodes = " << _activePagedLODList.size() << std::endl;
std::cout << "DatabasePager update took " << d << " ms. Length of active nodes = " << _activePagedLODList->size() << std::endl;
}
}
};