.07 0.02 2.5 9999 9glPopMatrixglPushMatrixglColor3f1.00.00.0glTranslatef0.00.991.0 /分针/glRotatefAngle2/3600.01.00.0gluCylinderobjCylinder 0.05 0.02 3.5 9999 9glPopMatrixglPushMatrixglColor3f0.00.00.5glTranslatef0.00.991.0 /秒针/glRotatefAngle10.01.00.0gluCylinderobjCylinder 0.07 0.02 4.5 9999 9glPopMatrixSwapBuffersdc.m_ps.hdcglDrawBuffer GL_BACK glFlush else ifTimer2 glClearColor1.01.01.01.0 glClearGL_COLOR_BUFFER_BIT if juli12.0 glMatrixModeGL_MODELVIEW/建立了从世界坐标系到观察坐标系的转换矩阵/ glLoadIdentity gluLookAt0.08.0juli0.00.00.00.01.00.0 julijuli-0.1 glPushMatrix glColor3f0.00.00.0 glRotatef-90.01.00.00.0 glutWireCone40.00.030.030.0 /画高度为 0 的圆锥/ glPopMatrix glPushMatrix glColor3f1.00.01.0 glLineWidth4.0 glTranslatef4.01.00.0 glutWireOctahedron /画八面体/ glLineWidth1.0 glPopMatrix glPushMatrix glColor3f1.00.01.0 glTranslatef0.01.10.0 glRotatefAngle20.01.00.0 gluCylinderobjCylinder 1.0 1.0 10.0 9999 9 /画壶/ glPopMatrix else ifjuli
上一篇:
【精品】数字图像处理源码5
下一篇:
病理学实验课多样化教学方法探讨