Chunk generation Minecraft like

Well, I had to check it myself - if that’d make you feel a bit better about not knowing instantly what some code / math does :’)

You can find it here.

For what I understand, it determines the chunk (aka. “cell”) in which given voxel is placed - but I can’t promise, I didn’t go through the entire guide.