Permalink
Browse files

typo fix

  • Loading branch information...
zgn1988 committed Dec 14, 2016
1 parent 73ea02d commit 2b6028371130211d6a0da0b038a84341b94d80d2
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/collision/BoundingIntervalHierarchy.cpp
@@ -145,13 +145,13 @@ void BIH::subdivide(int left, int right, std::vector<uint32> &tempTree, buildDat
else if (left > right)
{
// all right
right = rightOrig;
if (prevAxis == axis && G3D::fuzzyEq(prevSplit, split)) {
// we are stuck here - create a leaf
stats.updateLeaf(depth, right - left + 1);
createNode(tempTree, nodeIndex, left, right);
return;
}
right = rightOrig;
if (clipR >= split) {
// keep looping on right half
gridBox.lo[axis] = split;

0 comments on commit 2b60283

Please sign in to comment.