equal
deleted
inserted
replaced
14 v = [scale*float(x) for x in ln[1:4]] |
14 v = [scale*float(x) for x in ln[1:4]] |
15 vertices.append(tuple(v)) |
15 vertices.append(tuple(v)) |
16 if ln[0] == "f": |
16 if ln[0] == "f": |
17 f = [vertices[int(x)-1] for x in ln[1:4]] |
17 f = [vertices[int(x)-1] for x in ln[1:4]] |
18 face = Triangle(NormalVertex(f[0]), NormalVertex(f[1]), NormalVertex(f[2]), mat) |
18 face = Triangle(NormalVertex(f[0]), NormalVertex(f[1]), NormalVertex(f[2]), mat) |
19 rt.addshape(face) |
19 rt.addShape(face) |