First Commit

This commit is contained in:
Marius Metzger
2015-01-03 23:25:21 +01:00
commit cbd96d57f4
64 changed files with 23728 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package eu.crushedpixel.replaymod.interpolation;
public class Cubic {
private double a,b,c,d;
public Cubic(double p0, double d2, double e, double f) {
this.a =p0;
this.b =d2;
this.c =e;
this.d =f;
}
public double eval(double u) {
return (((d*u) + c)*u + b)*u + a;
}
}