summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConstantin Riß <constantin.riss@dre.de>2009-12-23 22:29:42 +0100
committerConstantin Riß <constantin.riss@dre.de>2009-12-23 22:29:42 +0100
commit0a29cdf46803de6887fc6ab43b2592f803ebe1e6 (patch)
tree673a32cc9bc76d61c3074b9bc3eb1735b88ac2a9
parent85939636049685a2bed67110bd9e8bb663069954 (diff)
downloadc3d-0a29cdf46803de6887fc6ab43b2592f803ebe1e6.tar
c3d-0a29cdf46803de6887fc6ab43b2592f803ebe1e6.zip
In Temparray die Funktion 'deactivateCube' hinzugefügt.
-rw-r--r--Temparray.h7
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: