Change time parameters and variables to double type

Addresses #65313
This commit is contained in:
Dave Palais 2022-09-22 08:54:15 -05:00 committed by Genei Shouko
parent 8e14f9ba21
commit 0c46068af0
26 changed files with 212 additions and 212 deletions

View file

@ -510,7 +510,7 @@ bool SceneTree::process(double p_time) {
return _quit;
}
void SceneTree::process_timers(float p_delta, bool p_physics_frame) {
void SceneTree::process_timers(double p_delta, bool p_physics_frame) {
List<Ref<SceneTreeTimer>>::Element *L = timers.back(); //last element
for (List<Ref<SceneTreeTimer>>::Element *E = timers.front(); E;) {
@ -542,7 +542,7 @@ void SceneTree::process_timers(float p_delta, bool p_physics_frame) {
}
}
void SceneTree::process_tweens(float p_delta, bool p_physics) {
void SceneTree::process_tweens(double p_delta, bool p_physics) {
// This methods works similarly to how SceneTreeTimers are handled.
List<Ref<Tween>>::Element *L = tweens.back();