1. 首页
  2. 课程学习
  3. C++/C
  4. opengl20面体

opengl20面体

上传者: 2019-01-05 01:19:10上传 RAR文件 749B 热度 20次
opengl 20面体#include #define X .525731112119133606 #define Z .850650808352039932 static GLfloat vdata[12][3] = {//各顶点坐标 {-X,0.0,Z},{X,0.0,Z},{-X,0.0,-Z},{X,0.0,-Z}, {0.0,Z,X},{0.0,Z,-X},{0.0,-Z,X},{0.0,-Z,-X}, {Z,X,0.0},{-Z,X,0.0},{Z,-X,0.0},{-Z,-X,0.0}, }; static GLuint tindices[20]
用户评论