mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 22:21:18 +00:00
[Core] Rename linear_interpolate to lerp
This commit is contained in:
parent
ad3c3e1bbb
commit
540156b387
48 changed files with 146 additions and 157 deletions
|
|
@ -1742,7 +1742,7 @@ void ScriptEditor::_update_script_colors() {
|
|||
int non_zero_hist_size = (hist_size == 0) ? 1 : hist_size;
|
||||
float v = Math::ease((edit_pass - pass) / float(non_zero_hist_size), 0.4);
|
||||
|
||||
script_list->set_item_custom_fg_color(i, hot_color.linear_interpolate(cold_color, v));
|
||||
script_list->set_item_custom_fg_color(i, hot_color.lerp(cold_color, v));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue