Lines Matching refs:ppNode
166 void Octree::ImplDeleteOctree( PPNODE ppNode ) in ImplDeleteOctree() argument
170 if ( (*ppNode)->pChild[ i ] ) in ImplDeleteOctree()
171 ImplDeleteOctree( &(*ppNode)->pChild[ i ] ); in ImplDeleteOctree()
174 pNodeCache->ImplReleaseNode( *ppNode ); in ImplDeleteOctree()
175 *ppNode = NULL; in ImplDeleteOctree()
180 void Octree::ImplAdd( PPNODE ppNode ) in ImplAdd() argument
183 if( !*ppNode ) in ImplAdd()
185 *ppNode = pNodeCache->ImplGetFreeNode(); in ImplAdd()
186 (*ppNode)->bLeaf = ( OCTREE_BITS == nLevel ); in ImplAdd()
188 if( (*ppNode)->bLeaf ) in ImplAdd()
192 (*ppNode)->pNext = pReduce[ nLevel ]; in ImplAdd()
193 pReduce[ nLevel ] = *ppNode; in ImplAdd()
197 if( (*ppNode)->bLeaf ) in ImplAdd()
199 (*ppNode)->nCount++; in ImplAdd()
200 (*ppNode)->nRed += pColor->GetRed(); in ImplAdd()
201 (*ppNode)->nGreen += pColor->GetGreen(); in ImplAdd()
202 (*ppNode)->nBlue += pColor->GetBlue(); in ImplAdd()
213 ImplAdd( &(*ppNode)->pChild[ nIndex ] ); in ImplAdd()