Factor by which ONE axis of the shift is scaled: 1 up to the knee, then the soft
limit that keeps |shift|·factor < ceiling·room. 0 when there is no room at all.
Parameters
shift: number
Absolute shift along the axis, in NDC units (≥ 0).
room: number
Distance from the unshifted point to the nearest border on that axis, NDC.
Factor by which ONE axis of the shift is scaled: 1 up to the knee, then the soft limit that keeps
|shift|·factor < ceiling·room. 0 when there is no room at all.