Created
August 31, 2017 02:15
-
-
Save anonymous/ccca9cf3e6619aa4ab310359a0501fdb 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
//this fuction draws triangles | |
//uses 2 parameters (x1,y1) | |
void drawTriangle(int x1, int y1){ | |
fill(255); | |
triangle(x1, y1, 20, 20, 200, 200); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment