I'm programming a terrain engine that uses Minecraft-esque chunks. The chunks are generated seperately using the Diamond-square algorithm.
The problem is that these chunks aren't lining up, they're completely seperate. I've tried a lot of things to make them do so, but so far nothing has worked as it should.
Edit: Also, the world I'm trying to create is not infinite; it generates a 33x33 array of chunks, each with a global height value assigned by another Diamond-square generator.
Is there a (simple, preferably) way to modify the diamond-square engine to make the chunks line up?