diff options
-rw-r--r-- | Temparray.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Temparray.h b/Temparray.h index 6afbe3c..629a4fe 100644 --- a/Temparray.h +++ b/Temparray.h @@ -20,6 +20,13 @@ class Temparray void setTemp(float temp, int x, int y, int z, int direct, int pos){ temperature[x][y][z][direct][pos]= temp; } + void deactivateCube(int x, int y, int z){ + for(int i=0; i<4; i++){ + for(int j=0; j<6; j++){ + setTemp(-100, x, y, z, i, j); + } + } + } void display(); private: |