fix
This commit is contained in:
parent
9df8d4f310
commit
c27ed524cc
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user