mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-01 04:20:20 +00:00
Fix ODR violation for VDSMCameraCullCallback
This class is also defined in OpenSceneGraph at global namespace.
This commit is contained in:
parent
c55141d18d
commit
47e87cc2bd
@ -25,6 +25,8 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
namespace {
|
||||
|
||||
using namespace osgShadow;
|
||||
using namespace SceneUtil;
|
||||
|
||||
@ -331,6 +333,8 @@ void VDSMCameraCullCallback::operator()(osg::Node* node, osg::NodeVisitor* nv)
|
||||
_projectionMatrix = cv->getProjectionMatrix();
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
MWShadowTechnique::ComputeLightSpaceBounds::ComputeLightSpaceBounds(osg::Viewport* viewport, const osg::Matrixd& projectionMatrix, osg::Matrixd& viewMatrix) :
|
||||
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user