add linear easing

This commit is contained in:
DashyFox 2024-03-04 09:43:37 +03:00
parent 519ec1ace2
commit f56e68a350

View File

@ -1,5 +1,10 @@
#pragma once #pragma once
namespace EasingFunc { namespace EasingFunc {
float easeLin(float t) {
return t;
}
float easeInSine(float t) { float easeInSine(float t) {
return sin(1.5707963 * t); return sin(1.5707963 * t);
} }