Changed OsgSceneHandler so it re-uses osgUtil::SceneView project and modelview

matrices.

Changed the osgpick demo so that it uses the OsgSceneHandler's projection and
modelview matrices where possible.
This commit is contained in:
Robert Osfield
2003-04-16 09:22:33 +00:00
parent fc4a2ab191
commit f9eb43083a
3 changed files with 24 additions and 20 deletions

View File

@@ -85,10 +85,6 @@ class OSGPRODUCER_EXPORT OsgSceneHandler : public Producer::Camera::SceneHandler
virtual ~OsgSceneHandler() {}
osg::ref_ptr<osg::RefMatrix> mm;
osg::ref_ptr<osg::RefMatrix> pm;
osg::ref_ptr<Callback> _clearCallback;
osg::ref_ptr<Callback> _cullCallback;
osg::ref_ptr<Callback> _drawCallback;