void (float proportion, @NotNull Side side) { proportion = MathUtil.clamp(proportion, 0f, 1f); float otherProportion = side.select(myProportion2, myProportion1); otherProportion = Math.min(otherProportion, 1f - proportion); myProportion1 = side.select(proportion, otherProportion); myProportion2 = side.select(otherProportion, proportion); }