summaryrefslogtreecommitdiff
path: root/scene/resources/line_shape_2d.h
diff options
context:
space:
mode:
authorMarcus Elg <marcusaccounts@yahoo.se>2020-05-09 14:24:46 +0200
committerMarcus Elg <marcusaccounts@yahoo.se>2020-05-09 15:10:00 +0200
commit9a7e515d50de44759521cda54b8d12f92775a92c (patch)
treeb7c78968d74b37e811e51e3fd7ce5291e04cd269 /scene/resources/line_shape_2d.h
parent46f1d4ff8e111b66c457ebcf27c72f84f96721d3 (diff)
Rename Lineshapes d to distance
Diffstat (limited to 'scene/resources/line_shape_2d.h')
-rw-r--r--scene/resources/line_shape_2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/resources/line_shape_2d.h b/scene/resources/line_shape_2d.h
index 5bf9e85bb9..74e8d57d03 100644
--- a/scene/resources/line_shape_2d.h
+++ b/scene/resources/line_shape_2d.h
@@ -37,7 +37,7 @@ class LineShape2D : public Shape2D {
GDCLASS(LineShape2D, Shape2D);
Vector2 normal;
- real_t d;
+ real_t distance;
void _update_shape();
@@ -48,10 +48,10 @@ public:
virtual bool _edit_is_selected_on_click(const Point2 &p_point, double p_tolerance) const;
void set_normal(const Vector2 &p_normal);
- void set_d(real_t p_d);
+ void set_distance(real_t p_distance);
Vector2 get_normal() const;
- real_t get_d() const;
+ real_t get_distance() const;
virtual void draw(const RID &p_to_rid, const Color &p_color);
virtual Rect2 get_rect() const;