[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
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
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));
}
}
}