12 lines
363 B
GLSL
12 lines
363 B
GLSL
/*
|
|
contributors: Hugh Kennedy (https://github.com/hughsk)
|
|
description: Linear easing. From https://github.com/stackgl/glsl-easings
|
|
use: linearIn(<float> x)
|
|
examples:
|
|
- https://raw.githubusercontent.com/patriciogonzalezvivo/lygia_examples/main/animation_easing.frag
|
|
*/
|
|
|
|
#ifndef FNC_LINEARIN
|
|
#define FNC_LINEARIN
|
|
float linearIn(in float t) { return t; }
|
|
#endif
|