torque Torque Game Engine Documentation
TGE Version 1.5.2

engine/util/frustrumCuller.h File Reference

#include "math/mBox.h"
#include "sceneGraph/sceneState.h"

Namespaces

namespace  FrustrumCuller

Enumerations

enum  {
  FrustrumCuller::MaxClipPlanes = 5,
  FrustrumCuller::ClipPlaneMask = BIT(MaxClipPlanes) - 1,
  FrustrumCuller::FarSphereMask = BIT(MaxClipPlanes + 1),
  FrustrumCuller::FogPlaneBoxMask = BIT(MaxClipPlanes + 2),
  FrustrumCuller::AllClipPlanes = ClipPlaneMask | FarSphereMask
}

Functions

void FrustrumCuller::init (SceneState *state)
S32 FrustrumCuller::testBoxVisibility (const Box3F &bounds, const S32 mask, const F32 expand)
F32 FrustrumCuller::getBoxDistance (const Box3F &box)

Variables

SceneStateFrustrumCuller::smSceneState
Point3F FrustrumCuller::smCamPos
F32 FrustrumCuller::smFarDistance
U32 FrustrumCuller::smNumClipPlanes
PlaneF FrustrumCuller::smClipPlane [MaxClipPlanes]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen