| Don't you have to delete in reverse? like this block - maybe you need to decrement the i (i--) instead of i++ so it acts as a pop from the array? Just a thought (thats how it works with AS3 anyways)
for(int i = 0; i < Length-1; i++){
delete[] Heights[i];
delete[] Normals[i];
delete[] Connections[i];
} |