torque Torque Game Engine Documentation
TGE Version 1.5.2

TSSortedMesh::Cluster Struct Reference

#include <tsSortedMesh.h>


Detailed Description

This is a group of primitives that belong "together" in the rendering sequence.

For example, if a player model had a helmet with a translucent visor, the visor would be a Cluster.


Data Fields

S32 startPrimitive
S32 endPrimitive
Point3F normal
F32 k
S32 frontCluster
 go to this cluster if in front of plane, if frontCluster<0, no cluster
S32 backCluster
 go to this cluster if in back of plane, if backCluster<0, no cluster if frontCluster==backCluster, no plane to test against.


Field Documentation

go to this cluster if in front of plane, if frontCluster<0, no cluster

go to this cluster if in back of plane, if backCluster<0, no cluster if frontCluster==backCluster, no plane to test against.

..




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