Flat worlds: face = -1; the patch covers [x, x+1] × [y, y+1] times rootSize / 2^level metres (x → +X, y → +Z).
Planets: face 0…5 is a cube face (+X, −X, +Y, −Y, +Z, −Z); the patch covers face coordinates
−1 + [x, x+1] × 2/2^level (and the same for y), projected onto the sphere.
Address of one terrain patch in the LOD quadtree.
face = -1; the patch covers[x, x+1] × [y, y+1]timesrootSize / 2^levelmetres (x → +X, y → +Z).face0…5 is a cube face (+X, −X, +Y, −Y, +Z, −Z); the patch covers face coordinates−1 + [x, x+1] × 2/2^level(and the same for y), projected onto the sphere.