moai/src/moaicore/MOAIPartition.cpp
//----------------------------------------------------------------//
// This moves all props to the 'empties' cell
This moves all props to the 'empties' cell
This moves all props to the ' empties ' cell
void MOAIPartition::PrepareRebuild () {
	u32 totalLayers = this->mLevels.Size ();
	for ( u32 i = 0; i < totalLayers; ++i ) {
		this->mLevels [ i ].ExtractProps ( this->mEmpties, 0 );
	}
	this->mBiggies.ExtractProps ( this->mEmpties, 0 );
	this->mGlobals.ExtractProps ( this->mEmpties, 0 );
}
void MOAIPartition :: PrepareRebuild ( ) { u32 totalLayers = this -> mLevels . Size ( ) ; for ( u32 i = 0 ; i < totalLayers ; ++ i ) { this -> mLevels [ i ] . ExtractProps ( this -> mEmpties , 0 ) ; } this -> mBiggies . ExtractProps ( this -> mEmpties , 0 ) ; this -> mGlobals . ExtractProps ( this -> mEmpties , 0 ) ; }
This moves all props to the 'empties' cell
This moves all props to the ' empties ' cell