Skip to content
Permalink
c4e7bb765f
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
14 lines (14 sloc) 263 Bytes
class Edge extends Gui_element{
Vertex v1,v2;
boolean searched=false;
Edge(Vertex _v1, Vertex _v2){
v1=_v1;v2=_v2;
v1.E.add(this);
v2.E.add(this);
}
void draw(){
strokeWeight(2);
stroke(0,0,255);
line(v1.x,v1.y,v2.x,v2.y);
}
}