diff options
author | letheed <letheed@outlook.com> | 2017-11-10 11:07:52 +0100 |
---|---|---|
committer | letheed <letheed@outlook.com> | 2017-11-10 12:52:07 +0100 |
commit | 482e07af7e5c8b85463f950036dc7b14cb8cd3b4 (patch) | |
tree | 3c0571bc1071e966318de890fbe2f0b45e80427f /scene/2d/polygon_2d.h | |
parent | 4deac219b0af86b7f80168920c8bedd070aa79c0 (diff) |
Unify degree members and properties
Diffstat (limited to 'scene/2d/polygon_2d.h')
-rw-r--r-- | scene/2d/polygon_2d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/2d/polygon_2d.h b/scene/2d/polygon_2d.h index 20c3324a50..0c2c049c18 100644 --- a/scene/2d/polygon_2d.h +++ b/scene/2d/polygon_2d.h @@ -53,9 +53,6 @@ class Polygon2D : public Node2D { mutable bool rect_cache_dirty; mutable Rect2 item_rect; - void _set_texture_rotationd(float p_rot); - float _get_texture_rotationd() const; - protected: void _notification(int p_what); static void _bind_methods(); @@ -82,6 +79,9 @@ public: void set_texture_rotation(float p_rot); float get_texture_rotation() const; + void set_texture_rotation_degrees(float p_rot); + float get_texture_rotation_degrees() const; + void set_texture_scale(const Size2 &p_scale); Size2 get_texture_scale() const; |