fuckingtech/public/assets/glsl/lygia/animation/easing/quadraticIn.glsl
Elias Rhouzlane bf76c6b086 fix: code
2025-04-06 17:23:52 +02:00

12 lines
384 B
GLSL

/*
contributors: Hugh Kennedy (https://github.com/hughsk)
description: Quadrtic in easing. From https://github.com/stackgl/glsl-easings
use: quadraticIn(<float> x)
examples:
- https://raw.githubusercontent.com/patriciogonzalezvivo/lygia_examples/main/animation_easing.frag
*/
#ifndef FNC_QUADRATICIN
#define FNC_QUADRATICIN
float quadraticIn(in float t) { return t * t; }
#endif