diff options
author | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:08:32 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-02-06 13:08:32 +0100 |
commit | 9b87843af169b08f1b852da96f696004866783fe (patch) | |
tree | c5a7267ff44cc6a45ec39784e8ce34ea9774a96b /Applications/PaintBrush/LineTool.cpp | |
parent | 20cfd2a6bff8c469970651dd73ffee60ab0e5176 (diff) | |
download | serenity-9b87843af169b08f1b852da96f696004866783fe.zip |
LibGfx: Unpublish Gfx::Point from global namespace
Diffstat (limited to 'Applications/PaintBrush/LineTool.cpp')
-rw-r--r-- | Applications/PaintBrush/LineTool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/PaintBrush/LineTool.cpp b/Applications/PaintBrush/LineTool.cpp index 9f1bfef49b..f32af8fec0 100644 --- a/Applications/PaintBrush/LineTool.cpp +++ b/Applications/PaintBrush/LineTool.cpp @@ -31,7 +31,7 @@ #include <LibGUI/GPainter.h> #include <LibM/math.h> -Point constrain_line_angle(const Gfx::Point& start_pos, const Gfx::Point& end_pos, float angle_increment) +static Gfx::Point constrain_line_angle(const Gfx::Point& start_pos, const Gfx::Point& end_pos, float angle_increment) { float current_angle = atan2(end_pos.y() - start_pos.y(), end_pos.x() - start_pos.x()) + M_PI * 2.; |