public class LineCalc
extends java.lang.Object
Constructor and Description |
---|
LineCalc() |
Modifier and Type | Method and Description |
---|---|
static float |
lerp(float ratio,
float min,
float max) |
static float |
lerp(float min,
float max,
float limit,
float value) |
static float |
lerp(float scalar,
float minScalar,
float maxScalar,
float minResult,
float maxResult) |
static void |
linearMorph(net.minecraft.client.renderer.model.ModelRenderer rotObj,
float startX,
float startY,
float startZ,
float endX,
float endY,
float endZ,
int animLength,
int animValue) |
static float |
linearScaleInteger(float initial_value,
float final_value,
int animationCounterLength,
int animationCounterValue) |
static float |
ratio(float value,
float min,
float max) |
public static float linearScaleInteger(float initial_value, float final_value, int animationCounterLength, int animationCounterValue)
public static void linearMorph(net.minecraft.client.renderer.model.ModelRenderer rotObj, float startX, float startY, float startZ, float endX, float endY, float endZ, int animLength, int animValue)
public static float lerp(float min, float max, float limit, float value)
public static float lerp(float ratio, float min, float max)
public static float ratio(float value, float min, float max)
public static float lerp(float scalar, float minScalar, float maxScalar, float minResult, float maxResult)