java.lang.Object
de.grogra.gpuflux.scene.BVH.BVHNode
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBVHNode
(int axis, int idx, int pcount, BoundingBox3d bb, BVHNode left, BVHNode right) -
Method Summary
-
Field Details
-
axis
public int axis -
idx
public int idx -
pcount
public int pcount -
bb
-
left
-
right
-
nidx
public int nidx
-
-
Constructor Details
-
BVHNode
-
-
Method Details
-
isLeaf
public boolean isLeaf() -
computeSAH
public double computeSAH(double parentArea)
-