animpoint.cpp
changeset 771 01f2f6d6789d
parent 726 7f43b93242aa
child 826 e715694b0f47
     1.1 --- a/animpoint.cpp	Mon Oct 06 11:10:20 2008 +0000
     1.2 +++ b/animpoint.cpp	Mon May 18 11:22:41 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 );