Method to access height map.
Slice!(double*, 2) containing surface's height map with dimensions nx * ny
1 for (int i = 0; i < surface.nx; i++) { 2 for (int j = 0; j < surface.ny; j++) { 3 surface.z[i][j] = 0; 4 } 5 }
See Implementation
Method to access height map.