|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BSPPolygon | |
com.brackeen.javagamebook.bsp2D | |
com.brackeen.javagamebook.game |
Uses of BSPPolygon in com.brackeen.javagamebook.bsp2D |
Methods in com.brackeen.javagamebook.bsp2D that return BSPPolygon | |
BSPPolygon |
BSPPolygon.clone(Vector3D[] vertices)
Clone this polygon, but with a different set of vertices. |
Methods in com.brackeen.javagamebook.bsp2D with parameters of type BSPPolygon | |
boolean |
SimpleBSPRenderer.visitPolygon(BSPPolygon poly,
boolean isBack)
|
boolean |
BSPTreeTraverseListener.visitPolygon(BSPPolygon poly,
boolean isBackLeaf)
Visits a BSP polygon. |
boolean |
BSPRenderer.visitPolygon(BSPPolygon poly,
boolean isBack)
|
void |
BSPLine.setTo(BSPPolygon poly)
Sets this BSPLine to the specified BSPPolygon (only if the BSPPolygon is a vertical wall). |
int |
BSPLine.getSide(BSPPolygon poly)
Gets the side of this line that the specified polygon is on. |
Constructors in com.brackeen.javagamebook.bsp2D with parameters of type BSPPolygon | |
BSPLine(BSPPolygon poly)
Creates a new BSPLine based on the specified BSPPolygon (only if the BSPPolygon is a vertical wall). |
Uses of BSPPolygon in com.brackeen.javagamebook.game |
Methods in com.brackeen.javagamebook.game that return BSPPolygon | |
BSPPolygon |
CollisionDetectionWithSliding.checkWalls(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks for a game object collision with the walls of the BSP tree. |
BSPPolygon |
CollisionDetection.checkWalls(GameObject object,
Vector3D oldLocation,
long elapsedTime)
Checks for a game object collision with the walls of the BSP tree. |
BSPPolygon |
CollisionDetection.getFirstWallIntersection(float x1,
float z1,
float x2,
float z2,
float yBottom,
float yTop)
Gets the first intersection, if any, of the path (x1,z1)-> (x2,z2) with the walls of the BSP tree. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |