From 475b9dd25d03f98d9475652d8edd8b9817d29385 Mon Sep 17 00:00:00 2001 From: "Stephen M. McQuay" Date: Mon, 7 May 2012 21:06:39 -0600 Subject: [PATCH] got vertex tests to pass again --- surf/geometry.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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):