You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-17 14:11:06 +00:00
Style: Apply new clang-format 5.0 style to all files
This commit is contained in:
@@ -586,8 +586,10 @@ struct CanvasItemPlotCurve {
|
||||
Color color1;
|
||||
Color color2;
|
||||
|
||||
CanvasItemPlotCurve(CanvasItem &p_ci, Color p_color1, Color p_color2)
|
||||
: ci(p_ci), color1(p_color1), color2(p_color2) {}
|
||||
CanvasItemPlotCurve(CanvasItem &p_ci, Color p_color1, Color p_color2) :
|
||||
ci(p_ci),
|
||||
color1(p_color1),
|
||||
color2(p_color2) {}
|
||||
|
||||
void operator()(Vector2 pos0, Vector2 pos1, bool in_definition) {
|
||||
ci.draw_line(pos0, pos1, in_definition ? color1 : color2);
|
||||
|
||||
Reference in New Issue
Block a user