add in hmmmm's mapgen optimisation

This commit is contained in:
Jordan Snelling 2012-10-18 19:27:26 +02:00
parent 59681c7bcc
commit 43f1c3867b
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ double dotProduct(double vx, double vy, double wx, double wy){
}
double easeCurve(double t){
return 6*pow(t,5)-15*pow(t,4)+10*pow(t,3);
return t * t * t * (6. * t * t - 15. * t + 10.);
}
double linearInterpolation(double x0, double x1, double t){