Exemplo n.º 1
0
        public ModelGLControl() : base()
        {
            this.BackColor = System.Drawing.Color.Black;
            this.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.Location  = new System.Drawing.Point(0, 0);
            this.VSync     = false;

            m_DisplayLists            = new int[0];
            m_CallListForDisplayLists = CallListForDisplayLists_Default;
        }
Exemplo n.º 2
0
        public ModelGLControl()
            : base(new OpenTK.Graphics.GraphicsMode(new OpenTK.Graphics.ColorFormat(32), 24, 8))
        {
            this.BackColor = System.Drawing.Color.Black;
            this.Dock      = System.Windows.Forms.DockStyle.Fill;
            this.Location  = new System.Drawing.Point(0, 0);
            this.VSync     = false;

            m_DisplayLists            = new int[0];
            m_PostDisplayLists        = new int[0];
            m_CallListForDisplayLists = CallListForDisplayLists_Default;
        }
Exemplo n.º 3
0
 public void ProvideCallListForDisplayLists(CallListForDisplayLists callListForDisplayLists)
 {
     m_CallListForDisplayLists = callListForDisplayLists;
 }
Exemplo n.º 4
0
 public ModelGLControlWithPicking()
     : base()
 {
     m_PickingDisplayLists            = new int[1];
     m_CallListForPickingDisplayLists = CallListForPickingDisplayLists_Default;
 }