Fixed CullVisitor::getDistanceFromEyePoint so that withLODScale is handled
correctly.
This commit is contained in:
parent
6c4f2f5207
commit
6439a719aa
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user