Standardised the culling flags between CullingSet and CullStack, and

made ENABLE_ALL_CULLING enable all culling including the near and far plane.
DEFAULT_CULLING is now used for the default as uses the same original
values as ENABLE_ALL_CULLING once did - view frustum culling with near and
far culling. SceneView now uses DEFAULT_CULLING.
This commit is contained in:
Robert Osfield
2003-08-20 12:50:54 +00:00
parent bca7e4e73b
commit 1c3b2b2554
5 changed files with 26 additions and 13 deletions

View File

@@ -16,7 +16,7 @@ using namespace osg;
CullingSet::CullingSet()
{
_mask = ALL_CULLING;
_mask = ENABLE_ALL_CULLING;
_pixelSizeVector.set(0,0,0,1);
_smallFeatureCullingPixelSize=1.0f;
}