Java Lerp lerp(double v1, double v2, double amt)

Here you can find the source of lerp(double v1, double v2, double amt)

Description

lerp

License

Open Source License

Declaration

public static double lerp(double v1, double v2, double amt) 

Method Source Code

//package com.java2s;

public class Main {
    public static double lerp(double v1, double v2, double amt) {
        return v1 + (v2 - v1) * amt;
    }/*w  w  w.j ava2  s .c  o  m*/
}

Related

  1. lerp(double from, double to, double p)
  2. lerp(double from, double to, double progress)
  3. lerp(double min, double max, double percentage)
  4. lerp(double min, double max, double val)
  5. lerp(double start, double distance, double factor)
  6. lerp(double x, double x1, double x2, double q00, double q01)
  7. lerp(double x, double x1, double x2, double q00, double q01)
  8. lerp(final double a, final double min, final double max)
  9. lerp(final double percent, final int startColor, final int endColor)