4 #include "glut_janitor.h"
8 int main(int argc, char** argv) {
11 glutInitWindowSize(800, 600);
13 glutInitDisplayMode(GLUT_SINGLE | GLUT_RGBA | GLUT_DEPTH);
14 glutCreateWindow(NULL);
16 glutSetWindowTitle(getGlInfoString());
18 glutDisplayFunc(renderScene);
19 glutReshapeFunc(resizeStage);
20 //glutKeyboardFunc(key_pressed);
21 //glutMouseFunc(mouse_button_event);
22 //glutMotionFunc(mouse_motion_event);
26 model = importModel("out/assets/wall01.3ds");
28 fprintf(stderr, "*model = ");
29 print_struct_aiScene(stderr, model);
30 fprintf(stderr, "\n*(*model).mRootNode = ");
31 print_struct_aiNode(stderr, (*model).mRootNode);
32 fprintf(stderr, "\n");