package de.fullrisk.citrusDev.UIHelper; import io.wispforest.owo.ui.core.Animatable; import net.minecraft.util.Mth; public record ScaleValue(float value) implements Animatable { @Override public ScaleValue interpolate(ScaleValue next, float delta) { return new ScaleValue(Mth.lerp(delta, this.value, next.value)); } }