- or download this
my $tile = $tiles[$rx][$ry][$bz][type];
if (!defined $tile || $$tile != $type_data[$tile_index])
...
$changed = 1;
$$tile = $type_data[$tile_index];
}
- or download this
use strict;
use warnings;
...
}
}
}
- or download this
(1 2 3)
(4 5 6) ===> ( 1 2 3 4 5 6 7 8 9 )
(7 8 9) how to do in three dimensions, I dunno...