Removed the exclusion of CullSettings from the genwrapper.conf, and then changed the CullStack RefMatrix& methods to RefMatrix*
as the RefMatrix& versions caused the wrappers to fail.
This commit is contained in:
@@ -326,7 +326,7 @@ void ShadowVolume::cull(osgUtil::CullVisitor& cv)
|
||||
_lightpos = lightpos;
|
||||
|
||||
osg::Matrix eyeToWorld;
|
||||
eyeToWorld.invert(cv.getModelViewMatrix());
|
||||
eyeToWorld.invert(*cv.getModelViewMatrix());
|
||||
|
||||
_occluder->computeShadowVolumeGeometry(lightpos * eyeToWorld, *_shadowVolume);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user