summaryrefslogtreecommitdiff
path: root/scene/resources/shape_line_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/resources/shape_line_2d.h')
-rw-r--r--scene/resources/shape_line_2d.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/resources/shape_line_2d.h b/scene/resources/shape_line_2d.h
index abad5f6a24..cd62504d81 100644
--- a/scene/resources/shape_line_2d.h
+++ b/scene/resources/shape_line_2d.h
@@ -32,24 +32,24 @@
#include "scene/resources/shape_2d.h"
class LineShape2D : public Shape2D {
- GDCLASS( LineShape2D, Shape2D );
+ GDCLASS(LineShape2D, Shape2D);
Vector2 normal;
real_t d;
void _update_shape();
-protected:
+protected:
static void _bind_methods();
-public:
- void set_normal(const Vector2& p_normal);
+public:
+ void set_normal(const Vector2 &p_normal);
void set_d(real_t p_d);
Vector2 get_normal() const;
real_t get_d() const;
- virtual void draw(const RID& p_to_rid,const Color& p_color);
+ virtual void draw(const RID &p_to_rid, const Color &p_color);
virtual Rect2 get_rect() const;
LineShape2D();