This commit is contained in:
arpruss 2015-10-06 13:41:34 -05:00
parent 9df8d4f310
commit c27ed524cc

View File

@ -1,6 +1,6 @@
#
# Code under the MIT license by Alexander Pruss
#
#
# Code under the MIT license by Alexander Pruss
#
from mc import *
import drawing
@ -28,7 +28,7 @@ def drawTetrahedron(height, apex, block):
for point in bottom:
a = float(i)/height
triangle.append(((1-a)*apex[0]+a*point[0],apex[1]-i,(1-a)*apex[2]+a*point[2]))
d.face(triangle,block)
d.face(triangle,block)
return triangle
def average(a,b):