#pragma comment(linker, "/SUBSYSTEM:WINDOWS /ENTRY:mainCRTStartup") #include "GLMetaseq.h" #include <GL/freeglut/freeglut.h> #define WIDTH 320 #define HEIGHT 240 //ライトの位置 GLfloat lightpos[] = { 200.0, 150.0, 500.0, 1.0 }; MQO_MODEL model; void display(void) { glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); glViewport(0, 0, WIDTH, HEIGHT); glMatrixMode(GL_PROJECTION); glLoadIdentity(); //視野角,アス