summaryrefslogtreecommitdiff
path: root/scene/resources/capsule_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/capsule_shape_2d.h')
-rw-r--r--scene/resources/capsule_shape_2d.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/resources/capsule_shape_2d.h b/scene/resources/capsule_shape_2d.h
index 7ce6a4ed63..784f2c02c8 100644
--- a/scene/resources/capsule_shape_2d.h
+++ b/scene/resources/capsule_shape_2d.h
@@ -39,11 +39,14 @@ class CapsuleShape2D : public Shape2D {
real_t radius;
void _update_shape();
+ Vector<Vector2> _get_points() const;
protected:
static void _bind_methods();
public:
+ virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const;
+
void set_height(real_t p_height);
real_t get_height() const;