mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 06:18:42 +00:00
use more basic default epsilon assumption
This commit is contained in:
+1
-1
@@ -3012,7 +3012,7 @@ ui_anim_(UI_Key key, UI_AnimParams *params)
|
|||||||
MemoryCopyStruct(&node->params, params);
|
MemoryCopyStruct(&node->params, params);
|
||||||
if(node->params.epsilon == 0)
|
if(node->params.epsilon == 0)
|
||||||
{
|
{
|
||||||
node->params.epsilon = (node->params.target - node->params.initial) / 10000.f;
|
node->params.epsilon = 0.01f;
|
||||||
}
|
}
|
||||||
return node->current;
|
return node->current;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user