code OpenGL ấm trà teapot
... H1: glColor3f(0,0.75,0.5); glRotatef(rotY, 0.0,1.0,0.0); glRotatef(rotX, 1.0,0.0,0.0); glutSolidTeapot(1.0); // VE AM TRA glPopMatrix(); break; case H2: glPushMatrix(); glColor3f(0.25,0.4,0.7);
Ngày tải lên: 06/06/2016, 16:43