Created
May 10, 2016 11:56
-
-
Save tmshv/ebbbe8c8f8b5b0c5af49dc4a2f0d3aae to your computer and use it in GitHub Desktop.
Rect in Processing
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
class Rectangle { | |
PVector lt; | |
float width; | |
float height; | |
Rectangle(PVector lt, float width, float height){ | |
this.lt = lt; | |
this.width = width; | |
this.height = height; | |
} | |
void draw(){ | |
//rect(); | |
} | |
} | |
void setup(){ | |
Rectangle rect = new Rectangle(new PVector(), 10, 10); | |
rect.draw(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment