Allora, non farne un metodo di Math. Utilizzala come funzione. function move (t, b, c, d) { return c*((t=t/d-1)*t*t + 1) + b; };
Regole del Forum