Files
Burn-My-Windows/resources/shaders/common/easing.glsl
T
2022-05-13 08:38:14 +02:00

5 lines
240 B
GLSL

// This provides some basic easing function. More can be added if required!
// Taken from here:
// https://gitlab.gnome.org/GNOME/mutter/-/blob/main/clutter/clutter/clutter-easing.c
float easeOutQuad(float x) { return -1.0 * x * (x - 2); }