Skip to content

Commit c4245f6

Browse files
style: Turtle.Rectangle() ( Fixes #192 )
Spreading out method chain.
1 parent ee0635d commit c4245f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Types/Turtle/Rectangle.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,8 @@ if (-not $Height) {
2222
$Height = $width/((1 + [Math]::Sqrt(5))/2)
2323
}
2424

25-
$this.Forward($width).Rotate(90).Forward($Height).Rotate(90).Forward($Width).Rotate(90).Forward($height).Rotate(90)
25+
$this.
26+
Forward($width).Rotate(90).
27+
Forward($Height).Rotate(90).
28+
Forward($Width).Rotate(90).
29+
Forward($height).Rotate(90)

0 commit comments

Comments
 (0)