OpenGL绘制旋转茶壶

绘制一个茶壶,鼠标左键实现拖动旋转, 鼠标右键点击加速绕Y轴旋转: 代码:ios #include <stdlib.h> #include <GL/glut.h> #include<iostream> #pragma comment(lib, "glut32.lib") using namespace std; GLfloat roate = 0.0;// set rote of ro
相关文章
相关标签/搜索