From 11e59d3c11183e997afc8dcd641c77f7d46666ce Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Sat, 24 Feb 2018 00:52:46 +0000 Subject: [PATCH] Move to the correct namespace. --- components/sceneutil/mwshadowtechnique.cpp | 4 +++- components/sceneutil/mwshadowtechnique.hpp | 8 ++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/components/sceneutil/mwshadowtechnique.cpp b/components/sceneutil/mwshadowtechnique.cpp index e68e23484..a7ec6a2d7 100644 --- a/components/sceneutil/mwshadowtechnique.cpp +++ b/components/sceneutil/mwshadowtechnique.cpp @@ -16,7 +16,8 @@ * OpenSceneGraph Public License for more details. */ -#include +#include "mwshadowtechnique.hpp" + #include #include #include @@ -25,6 +26,7 @@ #include using namespace osgShadow; +using namespace SceneUtil; ////////////////////////////////////////////////////////////////// // fragment shader diff --git a/components/sceneutil/mwshadowtechnique.hpp b/components/sceneutil/mwshadowtechnique.hpp index 4352d811a..d9df99371 100644 --- a/components/sceneutil/mwshadowtechnique.hpp +++ b/components/sceneutil/mwshadowtechnique.hpp @@ -16,8 +16,8 @@ * OpenSceneGraph Public License for more details. */ -#ifndef OSGSHADOW_VIEWDEPENDENTSHADOWMAP -#define OSGSHADOW_VIEWDEPENDENTSHADOWMAP 1 +#ifndef COMPONENTS_SCENEUTIL_MWSHADOWTECHNIQUE_H +#define COMPONENTS_SCENEUTIL_MWSHADOWTECHNIQUE_H 1 #include #include @@ -27,10 +27,10 @@ #include -namespace osgShadow { +namespace SceneUtil { /** ViewDependentShadowMap provides an base implementation of view dependent shadow mapping techniques.*/ - class OSGSHADOW_EXPORT ViewDependentShadowMap : public ShadowTechnique + class OSGSHADOW_EXPORT ViewDependentShadowMap : public osgShadow::ShadowTechnique { public: ViewDependentShadowMap();