Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TombEngine/TombEngine
/ EaseInOutSine
Function
EaseInOutSine
TombEngine/Math/Utils.cpp:81–85 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
79
}
80
81
float EaseInOutSine(float value0, float value1, float alpha)
82
{
83
alpha = std::clamp(alpha, 0.0f, 1.0f);
84
return Lerp(value0, value1, (1.0f - cos(alpha * PI)) / 2);
85
}
86
87
float EaseInOutSine(float alpha)
88
{
Callers
2
Update
Method · 0.85
Extend
Method · 0.85
Calls
1
Lerp
Function · 0.85
Tested by
no test coverage detected