Skip to content

Commit

Permalink
Fix an error
Browse files Browse the repository at this point in the history
  • Loading branch information
pex13002 committed Nov 21, 2014
1 parent 6bc2503 commit 139e267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drawing/drawing.pde
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void mouse_over_BUTTON(){
void mouseClicked(){
if(check_mouse_over_button(rectX1,rectY1,rectheight,rectwidth)){
//draw edges should be implemented by pressing button.
if (G.V.size()<=3) throw new RuntimeException("Requires at least 5 points");
if (G.V.size()<=3) throw new RuntimeException("Requires at least 4 points");
for(int i=0;i<G.V.size();i++){
do{
stroke(0,0,255);
Expand Down

0 comments on commit 139e267

Please sign in to comment.