Exemple #1
0
 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;
 }
Exemple #2
0
 internal void SetNeighbours(Patch pLeft, Patch pRight, Patch pTop, Patch pBottom)
 {
     _left = pLeft;
     _right = pRight;
     _top = pTop;
     _bottom = pBottom;
 }