|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.gpuflux.scene.BVH.BVHNode
public class BVHNode
Field Summary | |
---|---|
int |
axis
|
BoundingBox3d |
bb
|
int |
idx
|
BVHNode |
left
|
int |
nidx
|
int |
pcount
|
BVHNode |
right
|
Constructor Summary | |
---|---|
BVHNode(int axis,
int idx,
int pcount,
BoundingBox3d bb,
BVHNode left,
BVHNode right)
|
Method Summary | |
---|---|
double |
computeSAH(double parentArea)
|
boolean |
isLeaf()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int axis
public BoundingBox3d bb
public int idx
public BVHNode left
public int nidx
public int pcount
public BVHNode right
Constructor Detail |
---|
public BVHNode(int axis, int idx, int pcount, BoundingBox3d bb, BVHNode left, BVHNode right)
Method Detail |
---|
public double computeSAH(double parentArea)
public boolean isLeaf()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |