TSSortedMesh::Cluster Struct Reference

#include <tsSortedMesh.h>

List of all members.


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.


Public Attributes

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.


Member Data 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.

..