From 63eec0f4b51e3f4490cec6d55f76d2d3e2cc67e6 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Wed, 15 Apr 2015 11:40:03 +0200 Subject: [PATCH] easeInQuad easing --- renderlib.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/renderlib.py b/renderlib.py index 2c829d1..865e03e 100644 --- a/renderlib.py +++ b/renderlib.py @@ -34,6 +34,10 @@ def easeInCubic(t, b, c, d): t=float(t)/d return c*(t)*t*t + b; +def easeInQuad(t, b, c, d): + t=float(t)/d + return c*t*t + b; + def easeOutQuad(t, b, c, d): t=float(t)/d return -c *(t)*(t-2) + b;