Introduced bounding boxes to KDLeaf and KDNode structs
This commit is contained in:
@@ -299,6 +299,7 @@ int KDTreeBuilder::divide(KDTree& kdTree, osg::BoundingBox& bb, int nodeIndex, u
|
||||
kdTree.getNode(nodeNum).first = leftChildIndex;
|
||||
kdTree.getNode(nodeNum).second = rightChildIndex;
|
||||
|
||||
|
||||
return nodeNum;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user