summaryrefslogtreecommitdiff
path: root/tests/test_physics_3d.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2021-05-21 01:23:35 -0400
committerAaron Franke <arnfranke@yahoo.com>2021-07-26 02:00:48 -0400
commit4ecb6fba8002533f266d03e13ccba7cee4216421 (patch)
tree6ce7421c462e72b3691d01bff6256cb4cab0a631 /tests/test_physics_3d.cpp
parent0c68ccecda468b6c03f57b090aab69decc7b9549 (diff)
Use doubles for time everywhere in Timer/SceneTree
Diffstat (limited to 'tests/test_physics_3d.cpp')
-rw-r--r--tests/test_physics_3d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_physics_3d.cpp b/tests/test_physics_3d.cpp
index 4488e4bf64..ed49b60c71 100644
--- a/tests/test_physics_3d.cpp
+++ b/tests/test_physics_3d.cpp
@@ -313,7 +313,7 @@ public:
test_fall();
quit = false;
}
- virtual bool physics_process(float p_time) override {
+ virtual bool physics_process(double p_time) override {
if (mover.is_valid()) {
static real_t joy_speed = 10;
PhysicsServer3D *ps = PhysicsServer3D::get_singleton();
@@ -399,7 +399,7 @@ public:
create_static_plane(Plane(Vector3(0, 1, 0), -1));
}
- virtual bool process(float p_time) override {
+ virtual bool process(double p_time) override {
return false;
}