torque Torque Game Engine Documentation
TGE Version 1.5.2

FrustrumCuller Namespace Reference


Enumerations

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

Functions

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

Variables

SceneStatesmSceneState
Point3F smCamPos
F32 smFarDistance
U32 smNumClipPlanes
PlaneF smClipPlane [MaxClipPlanes]


Enumeration Type Documentation

anonymous enum

Enumerator:
MaxClipPlanes  We need to store at least 4 clip planes (sides of view frustrum).
ClipPlaneMask 
FarSphereMask 
FogPlaneBoxMask 
AllClipPlanes 


Function Documentation

void FrustrumCuller::init ( SceneState state  ) 

S32 FrustrumCuller::testBoxVisibility ( const Box3F bounds,
const S32  mask,
const F32  expand 
)

F32 FrustrumCuller::getBoxDistance ( const Box3F box  ) 


Variable Documentation




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