You've already forked godot
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user