コード例 #1
0
ファイル: BasicTerrain.cs プロジェクト: Grimston/ezterrain
 public BasicTerrain(int sideVertexCount)
 {
     grid = new TerrainGrid(sideVertexCount);
     //texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "l{0}.bmp", MaxLevels);
     texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "island{0}.bt", MaxLevels);
     program = new TerrainProgram();
 }
コード例 #2
0
 public BasicTerrain(int sideVertexCount)
 {
     grid = new TerrainGrid(sideVertexCount);
     //texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "l{0}.bmp", MaxLevels);
     texture = new TerrainTexture(TextureUnit.Texture0, sideVertexCount, "island{0}.bt", MaxLevels);
     program = new TerrainProgram();
 }