mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-18 10:51:28 +02:00
Removing unused code
This commit is contained in:
@@ -7,13 +7,4 @@ function swing(p) {
|
|||||||
return 0.5 - Math.cos(p * Math.PI) / 2;
|
return 0.5 - Math.cos(p * Math.PI) / 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
export default {swing};
|
||||||
* Linear easing function.
|
|
||||||
* @param {number} p The percentage of time that has passed.
|
|
||||||
* @return {number}
|
|
||||||
*/
|
|
||||||
function linear(p) {
|
|
||||||
return p;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default {swing, linear};
|
|
||||||
|
Reference in New Issue
Block a user