2 def generateCube(l
, objclass
):
5 objclass
.VertsList
= [[hl
, hl
, hl
], [hl
, -hl
, hl
], [-hl
, hl
, hl
], [-hl
, -hl
, hl
], [hl
, hl
, -hl
], [hl
, -hl
, -hl
], [-hl
, hl
, -hl
], [-hl
, -hl
, -hl
]]
6 objclass
.Faces
=[[1, 2, 4], [1, 4, 3], [1, 2, 5], [6, 2, 5], [1, 3, 5], [7, 3, 5], [3, 4, 8], [7, 3, 8], [7, 5, 6], [7, 8, 6], [8, 6, 2], [4, 8, 2]]
7 #This is terrible code, remember to make it more... presentable