File tree Expand file tree Collapse file tree 7 files changed +32
-31
lines changed Expand file tree Collapse file tree 7 files changed +32
-31
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ class TileSaver {
5757 tileFilename= _filename;
5858 tileNum= _num;
5959 tileNumSq= (tileNum* tileNum);
60+
61+ // Reset tile counters to start over correctly
62+ tileX = 0 ;
63+ tileY = 0 ;
6064
6165 width = p. width ;
6266 height = p. height ;
@@ -233,7 +237,4 @@ class TileSaver {
233237
234238 return name;
235239 }
236- }
237-
238-
239-
240+ }
Original file line number Diff line number Diff line change @@ -57,7 +57,11 @@ class TileSaver {
5757 tileFilename= _filename;
5858 tileNum= _num;
5959 tileNumSq= (tileNum* tileNum);
60-
60+
61+ // Reset tile counters to start over correctly
62+ tileX = 0 ;
63+ tileY = 0 ;
64+
6165 width = p. width ;
6266 height = p. height ;
6367 cameraZ= (height / 2.0f )/ p. tan(p. PI * FOV / 360.0f );
@@ -233,7 +237,4 @@ class TileSaver {
233237
234238 return name;
235239 }
236- }
237-
238-
239-
240+ }
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ class TileSaver {
5757 tileFilename= _filename;
5858 tileNum= _num;
5959 tileNumSq= (tileNum* tileNum);
60+
61+ // Reset tile counters to start over correctly
62+ tileX = 0 ;
63+ tileY = 0 ;
6064
6165 width = p. width ;
6266 height = p. height ;
@@ -233,7 +237,4 @@ class TileSaver {
233237
234238 return name;
235239 }
236- }
237-
238-
239-
240+ }
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ class TileSaver {
5757 tileFilename= _filename;
5858 tileNum= _num;
5959 tileNumSq= (tileNum* tileNum);
60+
61+ // Reset tile counters to start over correctly
62+ tileX = 0 ;
63+ tileY = 0 ;
6064
6165 width = p. width ;
6266 height = p. height ;
@@ -233,7 +237,4 @@ class TileSaver {
233237
234238 return name;
235239 }
236- }
237-
238-
239-
240+ }
Original file line number Diff line number Diff line change @@ -58,6 +58,10 @@ class TileSaver {
5858 tileNum= _num;
5959 tileNumSq= (tileNum* tileNum);
6060
61+ // Reset tile counters to start over correctly
62+ tileX = 0 ;
63+ tileY = 0 ;
64+
6165 width = p. width ;
6266 height = p. height ;
6367 cameraZ= (height / 2.0f )/ p. tan(p. PI * FOV / 360.0f );
@@ -233,7 +237,4 @@ class TileSaver {
233237
234238 return name;
235239 }
236- }
237-
238-
239-
240+ }
Original file line number Diff line number Diff line change @@ -57,6 +57,10 @@ class TileSaver {
5757 tileFilename= _filename;
5858 tileNum= _num;
5959 tileNumSq= (tileNum* tileNum);
60+
61+ // Reset tile counters to start over correctly
62+ tileX = 0 ;
63+ tileY = 0 ;
6064
6165 width = p. width ;
6266 height = p. height ;
@@ -233,7 +237,4 @@ class TileSaver {
233237
234238 return name;
235239 }
236- }
237-
238-
239-
240+ }
Original file line number Diff line number Diff line change 11GENERATIVEDESIGN CODE PACKAGE FOR PROCESSING 3.X
22
33----------------------------------------------------------------
4- Version 1.0.1 - 19 Aug 2015
4+ Version 1.0.1 - 8 Oct 2015
55
66Initial release of the code package.
77
8-
9-
10- Attention: As long as there is no final Processing 2.0 release
11- it will be quite possible that some sketches might not work
12- properly with any new beta release!
You can’t perform that action at this time.
0 commit comments