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:
commit
0764271999
@ -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