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

20 lines
344 B
HLSL

/*
contributors: Hugh Kennedy (https://github.com/hughsk)
description: Linear easing. From https://github.com/stackgl/glsl-easings
use: linear(<float> x)
*/
#ifndef FNC_LINEAR
#define FNC_LINEAR
float linearIn(in float t) {
return t;
}
float linearOut(in float t) {
return t;
}
float linearInOut(in float t) {
return t;
}
#endif