Exemplo n.º 1
0
/*
================
sdHardcodedParticleSystem::~sdHardcodedParticleSystem
================
*/
sdHardcodedParticleSystem::~sdHardcodedParticleSystem( void ) {
	// make sure the render entity is freed before the model is freed
	renderSystem->UnregisterPtr( Uid );
	FreeRenderEntity();
	renderModelManager->FreeModel( hModel[0] );
	renderModelManager->FreeModel( hModel[1] );
}
Exemplo n.º 2
0
/*
==============
sdSnowPrecipitation::~sdSnowPrecipitation
==============
*/
sdSnowPrecipitation::~sdSnowPrecipitation() {
    FreeRenderEntity();
    delete []renderEntity.insts;
}
Exemplo n.º 3
0
/*
==============
sdRainPrecipitation::~sdRainPrecipitation
==============
*/
sdRainPrecipitation::~sdRainPrecipitation() {
	FreeRenderEntity();
	delete []renderEntity.insts;
	//renderModelManager->FreeModel( renderEntity.hModel );
}