1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[Core] Rename linear_interpolate to lerp

This commit is contained in:
Aaron Franke
2020-03-16 05:07:33 -04:00
parent ad3c3e1bbb
commit 540156b387
48 changed files with 146 additions and 157 deletions

View File

@@ -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));
}
}
}