public void GenerateBuffers(GraphicsDevice graphicsDevice) { double height = heightInFeet / 300000; buffer = polygonSource.GetMap().Tesselate(graphicsDevice, Color.White); buffer2 = lineSource.GetLineGraph().ConstructViaExtrusion(graphicsDevice, new[] { new Vector2d(0, 0), new Vector2d(0, height) }, null, Color.White); }
public void GenerateBuffers(GraphicsDevice graphicsDevice) { buffer = polygonSource.GetMap().Tesselate(graphicsDevice, Color.White); }