com.gempukku.libgdx.graph.pipeline.producer.math.arithmetic.ReciprocalPipelineNodeProducer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libgdx-graph Show documentation
Show all versions of libgdx-graph Show documentation
libGDX-graph runtime library for pipeline rendering
The newest version!
package com.gempukku.libgdx.graph.pipeline.producer.math.arithmetic;
import com.gempukku.libgdx.graph.pipeline.config.math.arithmetic.ReciprocalPipelineNodeConfiguration;
import com.gempukku.libgdx.graph.pipeline.producer.math.SingleParamMathFunctionPipelineNodeProducerImpl;
public class ReciprocalPipelineNodeProducer extends SingleParamMathFunctionPipelineNodeProducerImpl {
public ReciprocalPipelineNodeProducer() {
super(new ReciprocalPipelineNodeConfiguration());
}
@Override
protected float executeFunction(float value) {
return 1 / value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy