Remove unused PhysicsShapeQueryResult & Physics2DShapeQueryResult

This commit is contained in:
PouleyKetchoupp
2021-07-02 16:45:36 -07:00
parent 19359a9654
commit 9eb6a43cff
9 changed files with 2 additions and 218 deletions

View File

@ -92,8 +92,6 @@ public:
Physics2DDirectBodyState();
};
class Physics2DShapeQueryResult;
//used for script
class Physics2DShapeQueryParameters : public Reference {
GDCLASS(Physics2DShapeQueryParameters, Reference);
@ -200,26 +198,6 @@ public:
Physics2DDirectSpaceState();
};
class Physics2DShapeQueryResult : public Reference {
GDCLASS(Physics2DShapeQueryResult, Reference);
Vector<Physics2DDirectSpaceState::ShapeResult> result;
friend class Physics2DDirectSpaceState;
protected:
static void _bind_methods();
public:
int get_result_count() const;
RID get_result_rid(int p_idx) const;
ObjectID get_result_object_id(int p_idx) const;
Object *get_result_object(int p_idx) const;
int get_result_object_shape(int p_idx) const;
Physics2DShapeQueryResult();
};
class Physics2DTestMotionResult;
class Physics2DServer : public Object {