Can anyone tell me why this is?
Thanks
//Create the array
char testWorld[25*16][25*16][25*16];
//Populate the array
for (int z=0; z<25*16; z++)
{
for (int y=0; y<25*16; y++)
{
for (int x=0; x<25*16; x++)
{
testWorld[x][y][z] = testWorld[x+16][y][z];
}
}
}
//Move the array
fps->start();
for (int z=0; z<25*16; z++)
{
for (int y=0; y<25*16; y++)
{
for (int x=0; x<24*16; x++)
{
testWorld[x][y][z] = testWorld[x+16][y][z];
}
}
}
cout << fps->get_ticks();