diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-07-26 19:37:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-26 19:37:49 +0200 |
commit | a504e4d4c3af53bb21a0013132719affd3e21798 (patch) | |
tree | d7555c02d6f13f3df95dadb78669c1b1c47c6c17 /tests/test_render.cpp | |
parent | db1603b805056a2b1087089829ab9bd6b2cfbd44 (diff) | |
parent | 4ecb6fba8002533f266d03e13ccba7cee4216421 (diff) |
Merge pull request #38880 from aaronfranke/timer
Use doubles for time everywhere in Timer/SceneTree
Diffstat (limited to 'tests/test_render.cpp')
-rw-r--r-- | tests/test_render.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_render.cpp b/tests/test_render.cpp index 00ce187847..beff86dd83 100644 --- a/tests/test_render.cpp +++ b/tests/test_render.cpp @@ -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; } |