Constant MAX_DIM

Source
const MAX_DIM: f32 = 8192.0;
Expand description

Layer dimensions are clamped to this; scale shrinks instead so the geometry stays consistent.