public Terrain(GraphicsDevice graphicsDevice, Camera camera, string heightMapFile, string effectFile, string textureFile, int width, int height) : this(graphicsDevice, camera, width, height) { terrainIndexer = new TerrainIndexer(this, camera, graphicsDevice); this.heightMapFile = heightMapFile; this.effectFile = effectFile; this.textureFile = textureFile; }
public Terrain(GraphicsDevice graphicsDevice, Camera camera, Texture2D heightMap, string heightMapFile, string effectFile, string textureFile) : this(graphicsDevice, camera, heightMap) { terrainIndexer = new TerrainIndexer(this, camera, graphicsDevice); this.heightMapFile = heightMapFile; this.effectFile = effectFile; this.textureFile = textureFile; }