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; }
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; }
int main(int argc, char** argv) { Environment* e = new MapEnvironment("pacman.pgm"); World* w = new World(e); GlutApp* application = new WorldApp(w); application->run(argc, argv); }