Forgot to save a file
[SpaceyShooter.git] / procmodels.py
blobb588112a7bb599eb132fce17ed6f4943e824be5a
2 def generateCube(l, objclass):
4 hl = l/2
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
8 return objclass