Use doubles for time everywhere in Timer/SceneTree
This commit is contained in:
parent
0c68ccecda
commit
4ecb6fba80
13 changed files with 68 additions and 68 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue