TerrainQuadTreeNode::prepare() does nothing

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
Vincent
Gnoblar
Posts: 7
Joined: Tue Feb 24, 2004 7:15 pm

TerrainQuadTreeNode::prepare() does nothing

Post by Vincent »

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:

Code: Select all

void TerrainQuadTreeNode::prepare()
	{
		if (!isLeaf())
		{
			for (int i = 0; i < 4; ++i)
				mChildren[i]->prepare();
		}

	}
Or is there a class derived from TerrainQuadTreeNode which does something usefull in its prepare() function?

Cheers
Vincent

User avatar
c6burns
Beholder
Posts: 1511
Joined: Fri Feb 22, 2013 4:44 am
Location: Deep behind enemy lines
x 134

Re: TerrainQuadTreeNode::prepare() does nothing

Post by c6burns »

There's another prepare method right below that one ;D

Post Reply