torque Torque Game Engine Documentation
TGE Version 1.5.2

CollisionTest Struct Reference

#include <collisionTest.h>


Detailed Description

Helper class for collision detection.


Basic Settings

Box3F boundingBox
SphereF boundingSphere
Point3F testPos
static bool renderAlways

Polytope/BSP test

BSPTree tree
Polytope volume
static bool testPolytope

Clipped polylists

ClippedPolyList polyList
static bool testClippedPolyList

Depth sorted polylists

DepthSortList depthSortList
static bool testDepthSortList
static bool depthSort
static bool depthRender

Extruded

CollisionList collisionList
Polyhedron polyhedron
VectorF extrudeVector
ExtrudedPolyList extrudedList
static bool testExtrudedPolyList

Implementation

 CollisionTest ()
 ~CollisionTest ()
void collide (const MatrixF &transform)
void render ()
static void consoleInit ()
static void callback (SceneObject *, void *thisPtr)

Data Fields

Depth Sort List
Use a slightly different box and sphere for depthSortList.

Box3F mDepthBox
SphereF mDepthSphere
Point3F mDepthSortExtent


Constructor & Destructor Documentation

CollisionTest::CollisionTest (  ) 

CollisionTest::~CollisionTest (  ) 


Member Function Documentation

static void CollisionTest::consoleInit (  )  [static]

static void CollisionTest::callback ( SceneObject ,
void thisPtr 
) [static]

void CollisionTest::collide ( const MatrixF transform  ) 

void CollisionTest::render (  ) 


Field Documentation

bool CollisionTest::depthSort [static]




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