From Bob Kuehne, Fixed typo.

This commit is contained in:
Robert Osfield 2003-07-10 08:05:24 +00:00
parent 3cec328164
commit 12c7526f87

View File

@ -23,7 +23,8 @@ void PagedLOD::traverse(NodeVisitor& nv)
float distance = nv.getDistanceToEyePoint(getCenter(),true); float distance = nv.getDistanceToEyePoint(getCenter(),true);
// first check to see if any children can be directly traversed. // first check to see if any children can be directly traversed.
unsigned int numChildren = osg::minimum(_children.size(),numChildren=_rangeList.size()); unsigned int numChildren = minimum(_children.size(),
_rangeList.size());
bool childTraversed = false; bool childTraversed = false;
for(unsigned int i=0;i<numChildren;++i) for(unsigned int i=0;i<numChildren;++i)
{ {