branch | pyrit |
changeset 28 | ffe83ca074f3 |
parent 22 | 76b7bd51d64a |
child 29 | 574c34441a1c |
--- a/demos/triangles_monkey.py Fri Dec 07 16:39:42 2007 +0100 +++ b/demos/triangles_monkey.py Sat Dec 08 12:37:45 2007 +0100 @@ -19,7 +19,7 @@ vertices.append(tuple(v)) if ln[0] == "f": f = [vertices[int(x)-1] for x in ln[1:4]] - face = Triangle(f[0], f[1], f[2], mat) + face = Triangle(NormalVertex(f[0]), NormalVertex(f[1]), NormalVertex(f[2]), mat) rt.addshape(face) rt = Raytracer()