Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale is handled

correctly.
This commit is contained in:
Robert Osfield 2003-01-29 17:24:54 +00:00
parent 6c4f2f5207
commit 6439a719aa

View File

@ -161,7 +161,7 @@ float CullVisitor::getDistanceFromEyePoint(const osg::Vec3& pos, bool withLODSca
float dist = distance(pos,matrix);
if (withLODScale) return dist*getLODScale();
else return dist*getLODScale();
else return dist;
}
void CullVisitor::popProjectionMatrix()