Java Lerp lerp(float a, float b, float interpolation)

Here you can find the source of lerp(float a, float b, float interpolation)

Description

lerp

License

Open Source License

Declaration

public static float lerp(float a, float b, float interpolation) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static float lerp(float a, float b, float interpolation) {
        return a + interpolation * (b - a);
    }//ww  w .ja v  a  2 s. c  o  m
}

Related

  1. lerp(final double percent, final int startColor, final int endColor)
  2. lerp(final float a, final float b, final float f)
  3. lerp(final float percent, final float startValue, final float endValue)
  4. lerp(final float x, final float x1, final float x2, final float q00, final float q01)
  5. lerp(float a, float b, float f)
  6. lerp(float a, float b, float t)
  7. lerp(float fromValue, float toValue, float progress)
  8. lerp(float origin, float target, int steps, int maxSteps)
  9. lerp(float start, float stop, float amt)