Java interpolate interpolateValue(double current, double prev, float partialTickTime)

Here you can find the source of interpolateValue(double current, double prev, float partialTickTime)

Description

interpolate Value

License

Open Source License

Declaration

public static double interpolateValue(double current, double prev, float partialTickTime) 

Method Source Code

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

public class Main {
    public static double interpolateValue(double current, double prev, float partialTickTime) {
        return prev + partialTickTime * (current - prev);
    }//from www.ja  va2  s  .co  m
}

Related

  1. interpolateProp(final String source, final String propName, final String defValue)
  2. interpolateRotation(float par1, float par2, float par3)
  3. interpolateRotation(float prevRotation, float nextRotation, float partialTick)
  4. interpolateRound(double a, double b, double t)
  5. interpolateSmoothly(final float position, final float startPosition, final float endPosition, final float startValue, final float endValue)
  6. interpolateValues(float prevVal, float nextVal, float partialTick)
  7. interpolateYawDegrees(float angle1, float ratio1, float angle2, float ratio2)
  8. interpolateYFromX(double x, double x0, double x1, double y0, double y1)