摘要:
直接把代码弄进来,课上如果能讲到的话……View Code #include <gl/glut.h>#include <math.h>const float PI = 3.1416;float ax = 0.0f;float ay = 0.0f;float az = 0.0f;double et1 = 0.0;double et2 = 0.0;double d = 500.0;int mx = 0;int my = 0;void Drawing_Box(){ glPushMatrix(); glPolygonMode(GL_BACK,GL_LINE); glTrans. 阅读全文