NewTOAPIA.GL.GLUCube.RenderContent C# (CSharp) Method

RenderContent() protected method

protected RenderContent ( GraphicsInterface gi ) : void
gi GraphicsInterface
return void
        protected override void  RenderContent(GraphicsInterface gi)
        {
            int i;

            for (i = 5; i >= 0; i--) 
            {
                gi.Begin((BeginMode)fStyle);
                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]]);
                gi.End();
            }
        }
    }