mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 10:43:21 +02:00
cr cleanup
This commit is contained in:
parent
2ec2824e8f
commit
7d801e99d1
1 changed files with 3 additions and 3 deletions
|
@ -748,7 +748,7 @@ int VoxelTree::searchForColoredNodes(int maxSearchLevel, VoxelNode* node, const
|
||||||
|
|
||||||
|
|
||||||
int VoxelTree::searchForColoredNodesRecursion(int maxSearchLevel, int& currentSearchLevel,
|
int VoxelTree::searchForColoredNodesRecursion(int maxSearchLevel, int& currentSearchLevel,
|
||||||
VoxelNode* node, const ViewFrustum& viewFrustum, VoxelNodeBag& bag) {
|
VoxelNode* node, const ViewFrustum& viewFrustum, VoxelNodeBag& bag) {
|
||||||
|
|
||||||
// Keep track of how deep we've searched.
|
// Keep track of how deep we've searched.
|
||||||
currentSearchLevel++;
|
currentSearchLevel++;
|
||||||
|
@ -802,8 +802,8 @@ int VoxelTree::searchForColoredNodesRecursion(int maxSearchLevel, int& currentSe
|
||||||
|
|
||||||
if (distance < boundaryDistanceForRenderLevel(*childNode->octalCode + 1)) {
|
if (distance < boundaryDistanceForRenderLevel(*childNode->octalCode + 1)) {
|
||||||
inViewCount = insertIntoSortedArrays((void*)childNode, distance, i,
|
inViewCount = insertIntoSortedArrays((void*)childNode, distance, i,
|
||||||
(void**)&inViewChildren, (float*)&distancesToChildren, (int*)&positionOfChildren,
|
(void**)&inViewChildren, (float*)&distancesToChildren,
|
||||||
inViewCount, MAX_CHILDREN);
|
(int*)&positionOfChildren, inViewCount, MAX_CHILDREN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue