mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-03 14:23:19 +00:00
Use doubles for time everywhere in Timer/SceneTree
This commit is contained in:
@@ -199,7 +199,7 @@ public:
|
||||
ofs = 0;
|
||||
quit = false;
|
||||
}
|
||||
virtual bool iteration(float p_time) {
|
||||
virtual bool iteration(double p_time) {
|
||||
RenderingServer *vs = RenderingServer::get_singleton();
|
||||
//Transform3D t;
|
||||
//t.rotate(Vector3(0, 1, 0), ofs);
|
||||
@@ -223,7 +223,7 @@ public:
|
||||
return quit;
|
||||
}
|
||||
|
||||
virtual bool idle(float p_time) {
|
||||
virtual bool idle(double p_time) {
|
||||
return quit;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user