mirror of
https://github.com/overte-org/overte.git
synced 2025-06-25 16:29:49 +02:00
removed some dead code
This commit is contained in:
parent
9492c3de18
commit
953196510f
1 changed files with 0 additions and 5 deletions
|
@ -205,7 +205,6 @@ CoverageMapStorageResult CoverageMap::checkMap(VoxelProjectedPolygon* polygon, b
|
||||||
|
|
||||||
CoverageMapStorageResult result = NOT_STORED;
|
CoverageMapStorageResult result = NOT_STORED;
|
||||||
CoverageRegion* storeIn = &_remainder;
|
CoverageRegion* storeIn = &_remainder;
|
||||||
//bool fitsInAHalf = false;
|
|
||||||
|
|
||||||
// Check each half of the box independently
|
// Check each half of the box independently
|
||||||
const bool useRegions = true; // for now we will continue to use regions
|
const bool useRegions = true; // for now we will continue to use regions
|
||||||
|
@ -213,19 +212,15 @@ CoverageMapStorageResult CoverageMap::checkMap(VoxelProjectedPolygon* polygon, b
|
||||||
if (_topHalf.contains(polygonBox)) {
|
if (_topHalf.contains(polygonBox)) {
|
||||||
result = _topHalf.checkRegion(polygon, polygonBox, storeIt);
|
result = _topHalf.checkRegion(polygon, polygonBox, storeIt);
|
||||||
storeIn = &_topHalf;
|
storeIn = &_topHalf;
|
||||||
//fitsInAHalf = true;
|
|
||||||
} else if (_bottomHalf.contains(polygonBox)) {
|
} else if (_bottomHalf.contains(polygonBox)) {
|
||||||
result = _bottomHalf.checkRegion(polygon, polygonBox, storeIt);
|
result = _bottomHalf.checkRegion(polygon, polygonBox, storeIt);
|
||||||
storeIn = &_bottomHalf;
|
storeIn = &_bottomHalf;
|
||||||
//fitsInAHalf = true;
|
|
||||||
} else if (_leftHalf.contains(polygonBox)) {
|
} else if (_leftHalf.contains(polygonBox)) {
|
||||||
result = _leftHalf.checkRegion(polygon, polygonBox, storeIt);
|
result = _leftHalf.checkRegion(polygon, polygonBox, storeIt);
|
||||||
storeIn = &_leftHalf;
|
storeIn = &_leftHalf;
|
||||||
//fitsInAHalf = true;
|
|
||||||
} else if (_rightHalf.contains(polygonBox)) {
|
} else if (_rightHalf.contains(polygonBox)) {
|
||||||
result = _rightHalf.checkRegion(polygon, polygonBox, storeIt);
|
result = _rightHalf.checkRegion(polygon, polygonBox, storeIt);
|
||||||
storeIn = &_rightHalf;
|
storeIn = &_rightHalf;
|
||||||
//fitsInAHalf = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue