mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-16 05:43:08 +00:00
Move to the correct namespace.
This commit is contained in:
parent
324b398d29
commit
11e59d3c11
2 changed files with 7 additions and 5 deletions
|
|
@ -16,7 +16,8 @@
|
||||||
* OpenSceneGraph Public License for more details.
|
* OpenSceneGraph Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <osgShadow/ViewDependentShadowMap>
|
#include "mwshadowtechnique.hpp"
|
||||||
|
|
||||||
#include <osgShadow/ShadowedScene>
|
#include <osgShadow/ShadowedScene>
|
||||||
#include <osg/CullFace>
|
#include <osg/CullFace>
|
||||||
#include <osg/Geode>
|
#include <osg/Geode>
|
||||||
|
|
@ -25,6 +26,7 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
using namespace osgShadow;
|
using namespace osgShadow;
|
||||||
|
using namespace SceneUtil;
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
// fragment shader
|
// fragment shader
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@
|
||||||
* OpenSceneGraph Public License for more details.
|
* OpenSceneGraph Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef OSGSHADOW_VIEWDEPENDENTSHADOWMAP
|
#ifndef COMPONENTS_SCENEUTIL_MWSHADOWTECHNIQUE_H
|
||||||
#define OSGSHADOW_VIEWDEPENDENTSHADOWMAP 1
|
#define COMPONENTS_SCENEUTIL_MWSHADOWTECHNIQUE_H 1
|
||||||
|
|
||||||
#include <osg/Camera>
|
#include <osg/Camera>
|
||||||
#include <osg/Material>
|
#include <osg/Material>
|
||||||
|
|
@ -27,10 +27,10 @@
|
||||||
|
|
||||||
#include <osgShadow/ShadowTechnique>
|
#include <osgShadow/ShadowTechnique>
|
||||||
|
|
||||||
namespace osgShadow {
|
namespace SceneUtil {
|
||||||
|
|
||||||
/** ViewDependentShadowMap provides an base implementation of view dependent shadow mapping techniques.*/
|
/** 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:
|
public:
|
||||||
ViewDependentShadowMap();
|
ViewDependentShadowMap();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue