Created
October 5, 2018 04:16
-
-
Save rockarts/38e1af7b8f0e227782da213a75bf6733 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for xvalue in stride(from: x, through: width, by: step) { | |
for yvalue in stride(from: y, through: height, by: step) { | |
drawLine(x: xvalue,y: yvalue, width: step, height: step) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment