Ejemplo n.º 1
0
        private void init3DRendering(List <Drawing.GFX.Shape> scene)
        {
            camera = new Camera(gridWidth, gridHeight);

            renderer = new Renderer(camera);

            foreach (Drawing.GFX.Shape shape in scene)
            {
                shape.drawer = drawer;
                renderer.AddShape(shape);
            }

            initGameLoopDisp();

            gameLoop.Start();
            startRendering = true;
        }