/* vertices of cube about the origin */
GLfloat vertices[8][3] =
{{-1.0, -1.0, -1.0}, {1.0,
-1.0, -1.0},
{1.0, 1.0, -1.0}, {-1.0, 1.0,
-1.0}, {-1.0, -1.0, 1.0},
{1.0, -1.0, 1.0}, {1.0, 1.0,
1.0}, {-1.0, 1.0, 1.0}};
/* colors to be assigned to edges */
GLfloat colors[8][3] =
{{0.0, 0.0, 0.0}, {1.0, 0.0,
0.0},
{1.0, 1.0, 0.0}, {0.0, 1.0,
0.0}, {0.0, 0.0, 1.0},
{1.0, 0.0, 1.0}, {1.0, 1.0,
1.0}, {0.0, 1.0, 1.0}};