So if I were to have
$Map::Chunk::Positive[X,Y]
$Map::Chunk::Negative[X,Y]
it would clash at a certain time?
if you're storing coordinates, you might need 4?
X, Y
-X, Y
X, -Y
-X, -Y
or you could do something like [X, Y, nX, nY]
nX and nY being Booleans for if the X/Y is negative
that'd be a bit weird to parse though
it'd probably be easier to do
positions[X, Y] = bleh
positions[X, Y, n] = 0-3
0 for X, Y
1 for -X, Y
2 for X, -Y
3 for -X, -Y
just look at the bits (00, 01, 10, 11)
you can get the bits with positions[X, Y, n] & 1 and positions[X, Y, n] & 2