#pragma once12// Easy curve computation for fades etc.34// output range: [0.0, 1.0]5float linearInOut(int t, int fadeInLength, int solidLength, int fadeOutLength);6float linearIn(int t, int fadeInLength);7float linearOut(int t, int fadeInLength);89// smooth operator [0, 1] -> [0, 1]10float ease(float val);11float ease(int t, int fadeLength);1213float bezierEase(float val);14float bezierEaseInOut(float val);15float bezierEaseIn(float val);16float bezierEaseOut(float val);1718// need a bouncy ease1920// waveforms [0, 1]21float sawtooth(int t, int period);2223// output range: -1.0 to 1.024float passWithPause(int t, int fadeInLength, int pauseLength, int fadeOutLength);252627