1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-26 09:35:28 +00:00

Move to the correct namespace.

This commit is contained in:
AnyOldName3 2018-02-24 00:52:46 +00:00
parent 324b398d29
commit 11e59d3c11
2 changed files with 7 additions and 5 deletions

View File

@ -16,7 +16,8 @@
* OpenSceneGraph Public License for more details.
*/
#include <osgShadow/ViewDependentShadowMap>
#include "mwshadowtechnique.hpp"
#include <osgShadow/ShadowedScene>
#include <osg/CullFace>
#include <osg/Geode>
@ -25,6 +26,7 @@
#include <sstream>
using namespace osgShadow;
using namespace SceneUtil;
//////////////////////////////////////////////////////////////////
// fragment shader

View File

@ -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 <osg/Camera>
#include <osg/Material>
@ -27,10 +27,10 @@
#include <osgShadow/ShadowTechnique>
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();