TerrainQuadTreeNode::prepare() does nothing
Posted: Sat Jun 21, 2014 3:59 pm
Hi all devs,
maybe I have overseen something, but isn't the TerrainQuadTreeNode::prepare() call in the OgreTerrain.cpp (line 905) pretty useless, because the function does the following:
Or is there a class derived from TerrainQuadTreeNode which does something usefull in its prepare() function?
Cheers
Vincent
maybe I have overseen something, but isn't the TerrainQuadTreeNode::prepare() call in the OgreTerrain.cpp (line 905) pretty useless, because the function does the following:
Code: Select all
void TerrainQuadTreeNode::prepare()
{
if (!isLeaf())
{
for (int i = 0; i < 4; ++i)
mChildren[i]->prepare();
}
}Cheers
Vincent