Generates a midline divided grid from a given geometry, following the orientation provided in the Params struct argument. The grid space will be divided in half, with the resulting halves being divided again and so on until the desired Division Depth is reached.