Ejemplo n.º 1
0
App::~App()
{
	std::cout << "Deleting application." << std::endl;
	delete mScene;
	std::cout << "Closing ARLib:" << std::endl;
	quitARLib();
	std::cout << "Closing OIS:" << std::endl;
	quitOIS();
    std::cout << "Closing Bullet:" << std::endl;
    quitBullet();
	std::cout << "Closing Ogre:" << std::endl;
	quitOgre();
}
Ejemplo n.º 2
0
App::~App()
{
	std::cout << "Deleting Ogre application." << std::endl;

	quitRift();

	std::cout << "Deleting Scene:" << std::endl;
	if( mScene ) delete mScene;

	std::cout << "Closing OIS:" << std::endl;
	quitOIS();
	std::cout << "Closing Ogre:" << std::endl;
	quitOgre();
}