Fixed bug in my CC implementation

- Wasn't calculating faces for a give original vert correctly
    - vertices generated by surf.subd.cc.refine look about right
    - still missing edge and face connectivity
This commit is contained in:
Stephen M. McQuay
2012-05-09 09:24:26 -06:00
parent ba1ec89c27
commit 198a7d7ca8
3 changed files with 33 additions and 14 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ class TestCC(unittest.TestCase):
def test_refine(self):
p = PolygonMesh(**self.cube)
p2 = cc.refine(p)
print p2
# TODO: this test is meaningless ...
p2
if __name__ == '__main__':
unittest.main(verbosity=3)