Also. Is Generate2D functionally equivalent to
Code:
for (int x = 0; x < SizeX; x++)
{
for (int y = 0; y < SizeY; y++)
{
CubicNoise2D(x, y);
}
}