|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.robrohan.ruin.doom.BspElement | +--com.robrohan.ruin.doom.Node
Constructor Summary | |
Node(float x,
float z,
float xa,
float za,
int rightNodeNum,
int leftNodeNum,
NodeContainerBox leftBox,
NodeContainerBox rightBox)
creates a new node |
Method Summary | |
void |
compile(DoomLevel level)
|
Sector |
getSectorAt(float xPos,
float zPos)
gets a Sector from an x,z pair |
Ssector |
getSsectorAt(float xPos,
float zPos)
gets a Sub Sector from an x,z pair |
boolean |
isRight(float xPos,
float zPos)
|
void |
sortSsectors(java.util.List list,
Pos pos,
int xScreenSize,
float xFovCalc)
Sort sub sector importance based on position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Node(float x, float z, float xa, float za, int rightNodeNum, int leftNodeNum, NodeContainerBox leftBox, NodeContainerBox rightBox)
Method Detail |
public void compile(DoomLevel level)
public boolean isRight(float xPos, float zPos)
public void sortSsectors(java.util.List list, Pos pos, int xScreenSize, float xFovCalc)
public Sector getSectorAt(float xPos, float zPos)
public Ssector getSsectorAt(float xPos, float zPos)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |