|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.brackeen.javagamebook.bsp2D.BSPTreeBuilder
com.brackeen.javagamebook.bsp2D.BSPTreeBuilderWithPortals
The BSPTreeBuilderWithPortals class builds a BSP tree and adds portals to the leaves of the tree. Note that the portals aren't optimized. For example, adjacent collinear portals aren't merged, and "useless" portals aren't removed.
| Constructor Summary | |
BSPTreeBuilderWithPortals()
|
|
| Method Summary | |
BSPTree |
build(java.util.List polygons)
Builds a BSP tree and adds portals to the leaves. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BSPTreeBuilderWithPortals()
| Method Detail |
public BSPTree build(java.util.List polygons)
build in class BSPTreeBuilder
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||