Added support for pixel based LOD's and set the default priority scale to 1.0

This commit is contained in:
Robert Osfield 2004-11-20 12:08:33 +00:00
parent 796b4cbe8d
commit 5adff5c15e

View File

@ -13,12 +13,13 @@
#include <osg/PagedLOD> #include <osg/PagedLOD>
#include <osg/CullStack> #include <osg/CullStack>
#include <osg/Notify>
using namespace osg; using namespace osg;
PagedLOD::PerRangeData::PerRangeData(): PagedLOD::PerRangeData::PerRangeData():
_priorityOffset(0.0f), _priorityOffset(0.0f),
_priorityScale(0.0f), _priorityScale(1.0f),
_timeStamp(0.0f) {} _timeStamp(0.0f) {}
PagedLOD::PerRangeData::PerRangeData(const PerRangeData& prd): PagedLOD::PerRangeData::PerRangeData(const PerRangeData& prd):