int main(int argc, char **argv)
{
	GlutApp* app = new DemoRegularConvexGen();

	app->initGlut(argc, argv);
	app->setTitle("test Regular convex generator\n");
	app->setWindowsSize(600, 600);

	app->setTimer(1000, 100);

	app->run();

	return 0;
}
Пример #2
0
int main(int argc, char** argv)
{
	GlutApp* app = new TestSun();

	app->initGlut(argc, argv);
	app->setTitle("Timer test");
	app->setWindowsSize(640, 480);

	app->setTimer(1000, 20);

	app->run();

	return 0;
}