示例#1
0
int main(void){
    MyApplication app;
    app.startUp();
    while( app.keepRunning() ){
        app.renderOneFrame();
    }
    return 0;
}
示例#2
0
int main(void) {
	MyApplication app;
	// Load up the application resources and stuff :)
	app.startUp();

	//  Start the rendering loop
	while (app.keepRunning()) {
		app.renderOneFrame();
	}

	return 0;
}