Use vertex's individual radius for all relevant calculations

This commit is contained in:
2011-06-23 12:46:32 -04:00
parent 4b1947fe44
commit fc71203220
4 changed files with 14 additions and 4 deletions

View File

@ -72,3 +72,11 @@ void Graph::add_vertex(int x, int y, int r)
edges.push_back(e);
current_vertex = v;
}
Vertex::Vertex(int x, int y, int r)
{
this->x = x;
this->y = y;
this->r = r;
}