internal TerrainModel(int numPatchesX, int numPatchesY, Patch[,] patches, HeightMap heightMap, float tau, Effect effect) { HeightMap = heightMap; _numPatchesX = numPatchesX; _numPatchesY = numPatchesY; _patches = patches; _tau = tau; Effect = effect; }
internal void SetNeighbours(Patch pLeft, Patch pRight, Patch pTop, Patch pBottom) { _left = pLeft; _right = pRight; _top = pTop; _bottom = pBottom; }