initial commit
This commit is contained in:
7
node_modules/eases/cubic-in-out.js
generated
vendored
Normal file
7
node_modules/eases/cubic-in-out.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
function cubicInOut(t) {
|
||||
return t < 0.5
|
||||
? 4.0 * t * t * t
|
||||
: 0.5 * Math.pow(2.0 * t - 2.0, 3.0) + 1.0
|
||||
}
|
||||
|
||||
module.exports = cubicInOut
|
||||
Reference in New Issue
Block a user