From 95b48bdec41f69eb089f50cab243335cdfc7bbb3 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Thu, 17 Jan 2013 15:35:38 +0100 Subject: [PATCH] Add ol.easing.linear --- src/ol/easing.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/ol/easing.js b/src/ol/easing.js index 74bd1c5210..7700c7fee6 100644 --- a/src/ol/easing.js +++ b/src/ol/easing.js @@ -1,6 +1,15 @@ goog.provide('ol.easing'); +/** + * @param {number} t Input between 0 and 1. + * @return {number} Output between 0 and 1. + */ +ol.easing.linear = function(t) { + return t; +}; + + /** * @param {number} t Input between 0 and 1. * @return {number} Output between 0 and 1.