mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-20 10:54:59 -07:00
simplify name alloctors in rd/ctrl layers; port panel-closure path
This commit is contained in:
@@ -3008,6 +3008,10 @@ ui_anim_(UI_Key key, UI_AnimParams *params)
|
||||
// rjf: touch node & update parameters - grab current
|
||||
node->last_touched_build_index = ui_state->build_index;
|
||||
DLLPushBack_NPZ(&ui_nil_anim_node, ui_state->lru_anim_node, ui_state->mru_anim_node, node, lru_next, lru_prev);
|
||||
if(params->reset)
|
||||
{
|
||||
node->current = params->initial;
|
||||
}
|
||||
MemoryCopyStruct(&node->params, params);
|
||||
if(node->params.epsilon == 0)
|
||||
{
|
||||
|
||||
@@ -582,6 +582,7 @@ struct UI_AnimParams
|
||||
F32 target;
|
||||
F32 rate;
|
||||
F32 epsilon;
|
||||
B32 reset;
|
||||
};
|
||||
|
||||
typedef struct UI_AnimNode UI_AnimNode;
|
||||
|
||||
Reference in New Issue
Block a user