All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gempukku.libgdx.graph.pipeline.producer.math.common.LerpPipelineNodeProducer Maven / Gradle / Ivy

The newest version!
package com.gempukku.libgdx.graph.pipeline.producer.math.common;

import com.badlogic.gdx.math.MathUtils;
import com.gempukku.libgdx.graph.pipeline.config.math.common.LerpPipelineNodeConfiguration;
import com.gempukku.libgdx.graph.pipeline.producer.math.ThreeParamMathFunctionPipelineNodeProducer;

public class LerpPipelineNodeProducer extends ThreeParamMathFunctionPipelineNodeProducer {
    public LerpPipelineNodeProducer() {
        super(new LerpPipelineNodeConfiguration(), "a", "b", "t", "output");
    }

    @Override
    protected float executeFunction(float a, float b, float c) {
        return MathUtils.lerp(a, b, c);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy