summaryrefslogtreecommitdiff
path: root/main/tests/test_physics_3d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main/tests/test_physics_3d.cpp')
-rw-r--r--main/tests/test_physics_3d.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/tests/test_physics_3d.cpp b/main/tests/test_physics_3d.cpp
index dfe2e946cf..72de2041e4 100644
--- a/main/tests/test_physics_3d.cpp
+++ b/main/tests/test_physics_3d.cpp
@@ -269,7 +269,7 @@ public:
virtual void request_quit() {
quit = true;
}
- virtual void init() {
+ virtual void init() override {
ofs_x = ofs_y = 0;
init_shapes();
@@ -310,7 +310,7 @@ public:
test_fall();
quit = false;
}
- virtual bool iteration(float p_time) {
+ virtual bool iteration(float p_time) override {
if (mover.is_valid()) {
static float joy_speed = 10;
PhysicsServer3D *ps = PhysicsServer3D::get_singleton();
@@ -328,7 +328,7 @@ public:
return quit;
}
- virtual void finish() {
+ virtual void finish() override {
}
void test_joint() {
@@ -396,7 +396,7 @@ public:
create_static_plane(Plane(Vector3(0, 1, 0), -1));
}
- virtual bool idle(float p_time) {
+ virtual bool idle(float p_time) override {
return false;
}