Esempio n. 1
0
        protected override void OnRenderFrame(FrameEventArgs e)
        {
            GL.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);

            tech.meterWidthHeight(Width, Height);
            paredd.meterWidthHeight(Width, Height);
            puert.meterWidthHeight(Width, Height);

            puert.setterMatrix4();
            paredd.setterMatrix4();
            tech.setterMatrix4();

            puert.dibujar();
            paredd.dibujar();
            tech.dibujar();

            Context.SwapBuffers();
            base.OnRenderFrame(e);
        }