Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/axmolengine/axmol
/ quadEaseInOut
Function
quadEaseInOut
core/2d/TweenFunction.cpp:218–225 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
216
}
217
218
float quadEaseInOut(float time)
219
{
220
time = time * 2;
221
if (time < 1)
222
return 0.5f * time * time;
223
--time;
224
return -0.5f * (time * (time - 2) - 1);
225
}
226
227
// Cubic Ease
228
float cubicEaseIn(float time)
Callers
1
tweenTo
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected