BunnyModel

수업

컴퓨터그래픽스 - Bunny Model 회전 코드

#include #include #include #include "BunneyModel.h" #include GLuint g_stanfordBunnyID = -1; GLint xValue = 0; GLint yValue = 0; GLint zValue = 0; GLint clickDown = 0; GLint fixX = 0; GLint fixY = 0; GLint GenerateCallList() { GLint lid = glGenLists(1); glNewList(lid, GL_COMPILE); glColor3f(1.0f, 0.0f, 0.0f); unsigned int i; for (int i = 0; i < (sizeof(face_indicies) / sizeof(face_indicies[0])); ..

eunslog
'BunnyModel' 태그의 글 목록