From 305b9826df7bc72211066b2eb9375df090ad501c Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Wed, 19 Dec 2018 16:23:32 +0000 Subject: [PATCH] Use forward declaration to reduce build times. --- components/sceneutil/shadow.cpp | 2 ++ components/sceneutil/shadow.hpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/components/sceneutil/shadow.cpp b/components/sceneutil/shadow.cpp index d3655dfb5c..7f356f51c4 100644 --- a/components/sceneutil/shadow.cpp +++ b/components/sceneutil/shadow.cpp @@ -9,6 +9,8 @@ #include +#include "mwshadowtechnique.hpp" + namespace SceneUtil { using namespace osgShadow; diff --git a/components/sceneutil/shadow.hpp b/components/sceneutil/shadow.hpp index 26e119d88b..acccd22037 100644 --- a/components/sceneutil/shadow.hpp +++ b/components/sceneutil/shadow.hpp @@ -7,10 +7,10 @@ #include #include -#include "mwshadowtechnique.hpp" - namespace SceneUtil { + class MWShadowTechnique; + class ShadowManager { public: