Esempio n. 1
0
        public void Draw(Renderer cam)
        {
            /*Gl.glPushMatrix();
             * Gl.glTranslatef(0f, 0f, 0.0f);
             * Gl.glScalef(50, 50, 0.0f);
             * Gl.glRotatef(0f, 0.0f, 0.0f, 1.0f);
             * Gl.glBindTexture(Gl.GL_TEXTURE_2D, textureID);
             * Gl.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
             * Gl.glCallList(textureGeom);
             * Gl.glPopMatrix();*/

            GLUtility.FillTexturedRectangle(textureID, new RectangleF(0f, 0f, 300f, 400f));
        }