1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Use doubles for time in many other places

This commit is contained in:
Aaron Franke
2021-02-01 21:16:37 -05:00
parent 78d33a6e24
commit 84f720966c
47 changed files with 291 additions and 288 deletions

View File

@@ -712,7 +712,7 @@ bool Node::is_enabled() const {
return _is_enabled();
}
float Node::get_physics_process_delta_time() const {
double Node::get_physics_process_delta_time() const {
if (data.tree) {
return data.tree->get_physics_process_time();
} else {
@@ -720,7 +720,7 @@ float Node::get_physics_process_delta_time() const {
}
}
float Node::get_process_delta_time() const {
double Node::get_process_delta_time() const {
if (data.tree) {
return data.tree->get_process_time();
} else {