public void initRenderer(GraphicsDevice graphicsDevice) { if (this.renderer == null) { this.renderer = new ChunkRenderer(graphicsDevice, this); } this.renderer.createVertices(); }
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(); } }