1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-25 21:41:04 +00:00

Merge pull request #2224 from elsid/fix_odr_violation

Fix ODR violation for VDSMCameraCullCallback
This commit is contained in:
Bret Curtis 2019-03-08 09:09:36 +01:00 committed by GitHub
commit 0764271999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
{