Added cout's of the view frustum to the aid debugging, these cout's are
now commented out, and are just left in so that they may be used to double check things in future.
This commit is contained in:
@@ -592,6 +592,16 @@ void SceneView::draw()
|
||||
drawStage(_renderStage.get());
|
||||
}
|
||||
|
||||
// const osg::Polytope& polytope = _state->getViewFrustum();
|
||||
// const osg::Polytope::PlaneList& pl = polytope.getPlaneList();
|
||||
// std::cout <<"draw frustum"<<std::endl;
|
||||
// for(osg::Polytope::PlaneList::const_iterator pl_itr=pl.begin();
|
||||
// pl_itr!=pl.end();
|
||||
// ++pl_itr)
|
||||
// {
|
||||
// std::cout << " plane "<<*pl_itr<<std::endl;
|
||||
// }
|
||||
|
||||
}
|
||||
|
||||
void SceneView::drawStage(osgUtil::RenderStage* renderStage)
|
||||
|
||||
Reference in New Issue
Block a user