Exemplo n.º 1
0
	//-----------------------------------------------------------------------
	MatrixForceFieldCalculationFactory::~MatrixForceFieldCalculationFactory(void)
	{
		Ogre::WorkQueue* wq = Ogre::Root::getSingleton().getWorkQueue();
		wq->removeRequestHandler(mWorkQueueChannel, this);
		wq->removeResponseHandler(mWorkQueueChannel, this);
		deleteMatrix();
	}
Exemplo n.º 2
0
    World::~World()
    {
        Ogre::WorkQueue* wq = Ogre::Root::getSingleton().getWorkQueue();
        wq->removeRequestHandler(mWorkQueueChannel, this);
        wq->removeResponseHandler(mWorkQueueChannel, this);

        delete mRootNode;
        delete mStorage;
    }