cleaned up some pep8/pyflakes violations

This commit is contained in:
Stephen M. McQuay
2012-03-19 22:18:02 -06:00
parent 303dd9e8d0
commit 62efeb12b3
6 changed files with 18 additions and 12 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
from surf.util import cube
from surf.util import cube
from surf.subd import cc
polygon = cube()
refined_poly = cc.refine(polygon)
@@ -6,11 +6,11 @@ refined_poly = cc.refine(polygon)
print polygon
print refined_poly
#
#
#
#
# import pylab
# import mpl_toolkits.mplot3d.axes3d as p3
#
#
# fig = pylab.figure()
# ax = p3.Axes3D(fig)
# for edge in newPolygon.edges:
+1 -2
View File
@@ -1,7 +1,6 @@
from __future__ import division
from surf.geometry import Vertex
v1 = Vertex(0.5, 0.25, 1/3.0)
v1 = Vertex(0.5, 0.25, 1 / 3.0)
v2 = Vertex(1, 1, 1)
print v1, v2, (v1 + v2) / 2