animpoint.cpp
changeset 767 6d2b32f305f9
parent 726 7f43b93242aa
child 826 e715694b0f47
     1.1 --- a/animpoint.cpp	Thu May 07 08:48:53 2009 +0000
     1.2 +++ b/animpoint.cpp	Wed May 13 08:26:27 2009 +0000
     1.3 @@ -115,7 +115,7 @@
     1.4  		return animated;
     1.5  	}
     1.6  
     1.7 -	// Some math slow down the movement
     1.8 +	// Some math to slow down the movement in the end
     1.9  	qreal f=1-n/animTicks;
    1.10  	qreal ff=1-f*f*f;
    1.11  	setX (startPos.x() + vector.x()*ff );