CmonGirl
19-10-2010 19:50:50
How can i delete all nxogre components(Wolrd,scene vs..) How Can i do? Someone help me.
CmonGirl
19-10-2010 19:50:50
betajaen
19-10-2010 19:56:14
CmonGirl
20-10-2010 07:46:11
CmonGirl
20-10-2010 08:41:33
NxOgre::Mesh* TMesh = NxOgre::MeshManager::getSingleton()->load(PhysicsName);
NxOgre::TriangleGeometry* TGeometry = new NxOgre::TriangleGeometry(TMesh);
mSceneGeo = mPhysicsScene->createSceneGeometry(TGeometry,NxOgre::Matrix44(InitialPosition));
delete TMesh;
TMesh = NULL;
delete TGeometry;
TGeometry = NULL;
mPhysicsScene->destroySceneGeometry(mSceneGeo);
delete mRenderSystem;
mRenderSystem = NULL;
mWorld->destroyWorld(true);
betajaen
20-10-2010 09:14:52
CmonGirl
20-10-2010 09:44:52
delete mRenderSystem;
mRenderSystem = NULL;
NxOgre::World::destroyWorld(false);
NxOgre::World::destroySingletons();
std::cout << "deleted : " << mWorld << std::endl;
betajaen
20-10-2010 10:10:11
delete mRenderSystem;
NxOgre::World::destroyWorld();
CmonGirl
20-10-2010 15:26:57