diff options
author | Constantin Riß <constantin.riss@dre.de> | 2010-01-16 22:57:50 +0100 |
---|---|---|
committer | Constantin Riß <constantin.riss@dre.de> | 2010-01-16 22:57:50 +0100 |
commit | f382c18643d16bf6656e508d611817aaf0c29704 (patch) | |
tree | 2063914afb33989ec416e427d5c608eeba7f3282 /Temparray.h | |
parent | ac9295f8f9ec5efa475fa8f2a56b3d975d6acc01 (diff) | |
download | c3d-f382c18643d16bf6656e508d611817aaf0c29704.tar c3d-f382c18643d16bf6656e508d611817aaf0c29704.zip |
Bisschen geändert.
Diffstat (limited to 'Temparray.h')
-rw-r--r-- | Temparray.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Temparray.h b/Temparray.h index ac082b4..cae1e6f 100644 --- a/Temparray.h +++ b/Temparray.h @@ -19,13 +19,13 @@ class Temparray float& temperaturenew(int x, int y, int z, int line, int pos) { return temparraynew[x*sy*sz*6*4 + y*sz*6*4 + z*6*4 + line*4 + pos]; } - void deactivateCube(int x, int y, int z){ +/* void deactivateCube(int x, int y, int z){ for(int i=0; i<6; i++){ for(int j=0; j<4; j++){ setTemp(-100, x, y, z, i, j); } } - } + }*/ std::list<Triangle> getTriangles(); private: @@ -44,8 +44,8 @@ class Temparray for(int k=0; k<z0; k++){ for(int l=0; l<6; l++){ for(int m=0; m<4; m++){ - temperaturenew(x, y, z, line, pos) = temp; - temperatureold(x, y, z, line, pos) = temp; + temperaturenew(i, j, k, l, m) = temp0; + temperatureold(i, j, k, l, m) = temp0; } } } |