• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package aurelienribon.tweenengine.equations;
2 
3 import aurelienribon.tweenengine.TweenEquation;
4 
5 /**
6  * Easing equation based on Robert Penner's work:
7  * http://robertpenner.com/easing/
8  * @author Aurelien Ribon | http://www.aurelienribon.com/
9  */
10 public abstract class Linear extends TweenEquation {
11 	public static final Linear INOUT = new Linear() {
12 		@Override
13 		public float compute(float t) {
14 			return t;
15 		}
16 
17 		@Override
18 		public String toString() {
19 			return "Linear.INOUT";
20 		}
21 	};
22 }
23