Exemplo n.º 1
0
        public void initRenderer(GraphicsDevice graphicsDevice)
        {
            if (this.renderer == null)
            {
                this.renderer = new ChunkRenderer(graphicsDevice, this);
            }

            this.renderer.createVertices();
        }
Exemplo n.º 2
0
        public void initRenderer(GraphicsDevice graphicsDevice, bool testVertices)
        {
            if (this.renderer == null)
            {
                this.renderer = new ChunkRenderer(graphicsDevice, this);
            }

            if (testVertices)
            {
                this.renderer.createTestVertices();
            }
            else
            {
                this.renderer.createVertices();
            }
        }