From 0a29cdf46803de6887fc6ab43b2592f803ebe1e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Constantin=20Ri=C3=9F?= Date: Wed, 23 Dec 2009 22:29:42 +0100 Subject: =?UTF-8?q?In=20Temparray=20die=20Funktion=20'deactivateCube'=20hi?= =?UTF-8?q?nzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Temparray.h | 7 +++++++ 1 file changed, 7 insertions(+) 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: -- cgit v1.2.3