|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jagatoo.loaders.models.bsp.lumps.BSPLeaf
public class BSPLeaf
The leafs, like the faces, are a very important part of the BSP information. They store the visibility cluster, the area portal, the leaf bounding box, the index into the faces, the number of leaf faces, the index into the brushes for collision, and finally, the number of leaf brushes. To calculate the number of leafs in the lump you divide the length of the lump by the sizeof(tBSPLeaf).
| Field Summary | |
|---|---|
int |
area
The area portal |
int |
cluster
The visibility cluster |
int |
leafBrush
The first index for into the brushes |
int |
leafFace
The first index into the face array |
int[] |
maxs
The bounding box max position |
int[] |
mins
The bounding box min position |
int |
numOfLeafBrushes
The number of brushes for this leaf |
int |
numOfLeafFaces
The number of faces for this leaf |
| Constructor Summary | |
|---|---|
BSPLeaf()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int cluster
public int area
public int[] mins
public int[] maxs
public int leafFace
public int numOfLeafFaces
public int leafBrush
public int numOfLeafBrushes
| Constructor Detail |
|---|
public BSPLeaf()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||