diff --git a/surf/geometry.py b/surf/geometry.py index aa93ca8..7dc44e5 100644 --- a/surf/geometry.py +++ b/surf/geometry.py @@ -30,18 +30,12 @@ class Vertex(object): A vertex is a position along with other information such as color, normal vector and texture coordinates. ''' - next_id - def __init__(self, polygon, parent_id=None, x=None, y=None, z=None, es=None): + def __init__(self, x=0.0, y=0.0, z=0.0): ''' ''' - self.polygon = polygon - self.parent_id = parent_id self.x = x self.y = y self.z = z - self.edge_ids = es or [] - self.id = Vertex.next_id - Vertex.next_id += 1 def __eq__(self, other): if(self.x == other.x and self.y == other.y and self.z == other.z):