void CALLBACK Paint(void) { GLfloat position[]= {0.0,0.0,1.5,1.0}; glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); glPushMatrix(); glTranslatef(0.0,0.0,-5.0); glPushMatrix(); glRotated((GLdouble)spin,1.0,0.0,0.0); glRotated(0.0,1.0,0.0,0.0); glLightfv(GL_LIGHT0,GL_POSITION,position); glTranslated(0.0,0.0,1.5); glDisable(GL_LIGHTING); glColor3f(0.0,1.0,1.0); auxWireCube(0.1); glEnable(GL_LIGHTING); glPopMatrix(); auxSolidTorus(0.275,0.85); glPopMatrix(); glFlush(); }
CEE3DINPROC_API void _stdcall CeE3DWireCube(GLdouble a) { auxWireCube(a); }