(t, b, c, d)
| 4 | // find them exported for ES6 consumption here: https://github.com/jaxgeller/ez.js |
| 5 | |
| 6 | const easeInOutQuad = (t, b, c, d) => { |
| 7 | t /= d / 2 |
| 8 | if (t < 1) return c / 2 * t * t + b |
| 9 | t-- |
| 10 | return -c / 2 * (t * (t - 2) - 1) + b |
| 11 | } |
| 12 | |
| 13 | export default easeInOutQuad |
nothing calls this directly
no outgoing calls
no test coverage detected