protected override void RenderContent(GraphicsInterface gi) { int i; for (i = 5; i >= 0; i--) { if (fStyle == CubeStyle.Solid) gi.Drawing.Quads.Begin(); else gi.Drawing.LineLoop.Begin(); gi.Normal(n[i]); //gl.glNormal3fv(n[i]); gi.Vertex3(v[faces[i][0]]); gi.Vertex3(v[faces[i][1]]); gi.Vertex3(v[faces[i][2]]); gi.Vertex3(v[faces[i][3]]); if (fStyle == CubeStyle.Solid) gi.Drawing.Quads.End(); else gi.Drawing.LineLoop.End(); } }