mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Remove empty constructors and destructors from core/
This commit is contained in:
parent
68410acc61
commit
e14263f917
67 changed files with 1 additions and 168 deletions
|
|
@ -43,8 +43,6 @@ class AStar3D : public RefCounted {
|
|||
friend class AStar2D;
|
||||
|
||||
struct Point {
|
||||
Point() {}
|
||||
|
||||
int64_t id = 0;
|
||||
Vector3 pos;
|
||||
real_t weight_scale = 0;
|
||||
|
|
@ -167,7 +165,6 @@ public:
|
|||
Vector<Vector3> get_point_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path = false);
|
||||
Vector<int64_t> get_id_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path = false);
|
||||
|
||||
AStar3D() {}
|
||||
~AStar3D();
|
||||
};
|
||||
|
||||
|
|
@ -226,7 +223,4 @@ public:
|
|||
|
||||
Vector<Vector2> get_point_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path = false);
|
||||
Vector<int64_t> get_id_path(int64_t p_from_id, int64_t p_to_id, bool p_allow_partial_path = false);
|
||||
|
||||
AStar2D() {}
|
||||
~AStar2D() {}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -799,9 +799,6 @@ private:
|
|||
|
||||
// local toggle for turning on and off thread safety in project settings
|
||||
bool _thread_safe = BVH_THREAD_SAFE;
|
||||
|
||||
public:
|
||||
BVH_Manager() {}
|
||||
};
|
||||
|
||||
#undef BVHTREE_CLASS
|
||||
|
|
|
|||
|
|
@ -39,8 +39,6 @@ private:
|
|||
struct Input {
|
||||
Variant::Type type = Variant::NIL;
|
||||
String name;
|
||||
|
||||
Input() {}
|
||||
};
|
||||
|
||||
Vector<Input> inputs;
|
||||
|
|
@ -135,7 +133,6 @@ private:
|
|||
|
||||
Type type = TYPE_INPUT;
|
||||
|
||||
ENode() {}
|
||||
virtual ~ENode() {
|
||||
if (next) {
|
||||
memdelete(next);
|
||||
|
|
@ -267,6 +264,5 @@ public:
|
|||
bool has_execute_failed() const;
|
||||
String get_error_text() const;
|
||||
|
||||
Expression() {}
|
||||
~Expression();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -186,13 +186,11 @@ struct _FaceClassify {
|
|||
face = -1;
|
||||
edge = -1;
|
||||
}
|
||||
_Link() {}
|
||||
};
|
||||
bool valid = false;
|
||||
int group = -1;
|
||||
_Link links[3];
|
||||
Face3 face;
|
||||
_FaceClassify() {}
|
||||
};
|
||||
|
||||
/*** GEOMETRY WRAPPER ***/
|
||||
|
|
|
|||
|
|
@ -76,12 +76,10 @@ private:
|
|||
struct FaceConnect {
|
||||
List<Face>::Element *left = nullptr;
|
||||
List<Face>::Element *right = nullptr;
|
||||
FaceConnect() {}
|
||||
};
|
||||
struct RetFaceConnect {
|
||||
List<Geometry3D::MeshData::Face>::Element *left = nullptr;
|
||||
List<Geometry3D::MeshData::Face>::Element *right = nullptr;
|
||||
RetFaceConnect() {}
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue