From 9b2fe06896b9b0d170e3fb397d4a4950d3da0d42 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 13 Apr 2002 11:08:04 +0000 Subject: [PATCH] Fixed compile problem related to missing includes (a result of removing include of Camera..) --- include/osgUtil/RenderStage | 1 + include/osgUtil/SceneView | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/osgUtil/RenderStage b/include/osgUtil/RenderStage index 4c744ed21..3ac5abf62 100644 --- a/include/osgUtil/RenderStage +++ b/include/osgUtil/RenderStage @@ -6,6 +6,7 @@ #define OSGUTIL_RENDERSTAGE 1 #include +#include #include #include diff --git a/include/osgUtil/SceneView b/include/osgUtil/SceneView index f22fbc3d1..d809022f2 100644 --- a/include/osgUtil/SceneView +++ b/include/osgUtil/SceneView @@ -125,12 +125,12 @@ class OSGUTIL_EXPORT SceneView : public osg::Referenced osg::Camera* getCamera() { return _camera.get(); } const osg::Camera* getCamera() const { return _camera.get(); } - /** set an projection matrix. Note, this will override a camera's projection matrix if it is not NULL.*/ + /** set a projection matrix. Note, this will override a camera's projection matrix if it is not NULL.*/ void setProjectionMatrix(osg::Matrix* matrix) { _projectionMatrix = matrix; } osg::Matrix* getProjectionMatrix() { return _projectionMatrix.get(); } const osg::Matrix* getProjectionMatrix() const { return _projectionMatrix.get(); } - /** set an modelview matrix. Note, this will override a camera's modelview matrix if it is not NULL.*/ + /** set a modelview matrix. Note, this will override a camera's modelview matrix if it is not NULL.*/ void setModelViewMatrix(osg::Matrix* matrix) { _modelviewMatrix = matrix; } osg::Matrix* getModelViewMatrix() { return _modelviewMatrix.get(); } const osg::Matrix* getModelViewMatrix() const { return _modelviewMatrix.get(); }