Renamed osg::CameraNode to osg::Camera, cleaned up osg::View.

Added beginnings of new osgViewer::Scene,View,Viewer,CompositeViewer and GraphicsWindowProxy files.
This commit is contained in:
Robert Osfield
2006-11-27 14:52:07 +00:00
parent b82e521444
commit fd2ffeb310
110 changed files with 2257 additions and 1466 deletions

View File

@@ -20,7 +20,7 @@
#include <osgProducer/Viewer>
#include <osg/Geode>
#include <osg/CameraNode>
#include <osg/Camera>
#include <osg/ShapeDrawable>
#include <osg/Sequence>
@@ -540,7 +540,7 @@ int main( int argc, char **argv )
{
// create the hud.
osg::CameraNode* camera = new osg::CameraNode;
osg::Camera* camera = new osg::Camera;
camera->setReferenceFrame(osg::Transform::ABSOLUTE_RF);
camera->setProjectionMatrixAsOrtho2D(0,1280,0,1024);
camera->setViewMatrix(osg::Matrix::identity());