summaryrefslogtreecommitdiff
path: root/scene/3d/collision_polygon_3d.cpp
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2021-02-07 22:29:31 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2021-02-07 22:29:31 +0100
commit003bb8e1a8c9bb81e3cb0733b3f0d569b1518881 (patch)
tree3c7f54d3b3e6d355a2ffb14933e0b5461478b224 /scene/3d/collision_polygon_3d.cpp
parent57e2822a05c29db3980ad243c37a34acf6c4d14b (diff)
Initialize class variables with default values in scene/ [1/2]
Diffstat (limited to 'scene/3d/collision_polygon_3d.cpp')
-rw-r--r--scene/3d/collision_polygon_3d.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/scene/3d/collision_polygon_3d.cpp b/scene/3d/collision_polygon_3d.cpp
index 742387b32d..4d117f02d3 100644
--- a/scene/3d/collision_polygon_3d.cpp
+++ b/scene/3d/collision_polygon_3d.cpp
@@ -197,10 +197,5 @@ void CollisionPolygon3D::_bind_methods() {
}
CollisionPolygon3D::CollisionPolygon3D() {
- aabb = AABB(Vector3(-1, -1, -1), Vector3(2, 2, 2));
- depth = 1.0;
set_notify_local_transform(true);
- parent = nullptr;
- owner_id = 0;
- disabled = false;
}