Removed old test file
- test using unittest can now be found in test.vertex
This commit is contained in:
parent
62efeb12b3
commit
265f692b8e
@ -1,11 +1,11 @@
|
|||||||
from surf.util import cube
|
from surf.util import cube
|
||||||
from surf.subd import cc
|
from surf.subd import cc
|
||||||
|
|
||||||
polygon = cube()
|
polygon = cube()
|
||||||
refined_poly = cc.refine(polygon)
|
refined_poly = cc.refine(polygon)
|
||||||
|
|
||||||
print polygon
|
print polygon
|
||||||
print refined_poly
|
print refined_poly
|
||||||
|
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# import pylab
|
# import pylab
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
from surf.geometry import Vertex
|
|
||||||
|
|
||||||
v1 = Vertex(0.5, 0.25, 1 / 3.0)
|
|
||||||
v2 = Vertex(1, 1, 1)
|
|
||||||
|
|
||||||
print v1, v2, (v1 + v2) / 2
|
|
||||||
print v1, v2, (v1 + v2) / 2.0
|
|
||||||
|
|
||||||
v = sum((v1, v2), Vertex()) / len((v1, v2))
|
|
||||||
print v, type(v)
|
|
Loading…
Reference in New Issue
Block a user