{1,5,6,2},
{5,4,7,6},
{4,0,3,7},
{4,5,1,0},
{3,2,6,7}
};
GLdouble normal[][3]={
{0.0,0.0,-1.0},
{1.0,0.0,0.0},
{0.0,0.0,1.0},
{-1.0,0.0,0.0},
{0.0,-1.0,0.0},
{0.0,1.0,0.0}
};
void cube()
{
int i,j;
glBegin(GL_QUADS);
for(i=0;i<6;i++){
glNormal3dv(normal[i]);
for(j=0;j<4;j++){
glVertex3dv(vertex[face[i][j]]);
}
}
glEnd();
}
GLvoid CALLBACK none(void)
{
}
GLvoid CALLBACK draw(void)
{
static int r=0;