You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by gb...@apache.org on 2010/04/16 14:25:34 UTC
svn commit: r934844 -
/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/easing/Sine.java
Author: gbrown
Date: Fri Apr 16 12:25:34 2010
New Revision: 934844
URL: http://svn.apache.org/viewvc?rev=934844&view=rev
Log:
Implement Easing in Sine class.
Modified:
pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/easing/Sine.java
Modified: pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/easing/Sine.java
URL: http://svn.apache.org/viewvc/pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/easing/Sine.java?rev=934844&r1=934843&r2=934844&view=diff
==============================================================================
--- pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/easing/Sine.java (original)
+++ pivot/trunk/wtk/src/org/apache/pivot/wtk/effects/easing/Sine.java Fri Apr 16 12:25:34 2010
@@ -19,7 +19,7 @@ package org.apache.pivot.wtk.effects.eas
/**
* Easing operation based on a sine curve.
*/
-public class Sine {
+public class Sine implements Easing {
public float easeIn(float time, float begin, float change, float duration) {
return -change * (float)Math.cos(time / duration * (Math.PI/2)) + change + begin;
}