Пример #1
0
int
main(int argc, char** argv)
{
	MinVR::AbstractMVREngine *engine = new MinVR::MVREngineGLFW();
	engine->init(argc, argv);
	MinVR::AbstractMVRAppRef app(new ExampleVrApp());
	engine->runApp(app);
	delete engine;

	return 0;
}
Пример #2
0
int
main(int argc, char** argv)
{
	MinVR::AbstractMVREngine *engine = new MinVR::MVREngineGLFW();
	//engine->contextVersion = {0,0};
	engine->init(argc, argv);
	MinVR::AbstractMVRAppRef app(new Spatialize::SpatializeApp(argv[2]));
	engine->runApp(app);
	delete engine;

	return 0;
}