demos/objreader.py
branchpyrit
changeset 75 20dee9819b17
parent 41 c1080cb5bd6d
child 90 f6a72eb99631
--- a/demos/objreader.py	Mon Apr 21 08:47:36 2008 +0200
+++ b/demos/objreader.py	Mon Apr 21 09:05:09 2008 +0200
@@ -16,4 +16,4 @@
 		if ln[0] == "f":
 			f = [vertices[int(x)-1] for x in ln[1:4]]
 			face = Triangle(NormalVertex(f[0]), NormalVertex(f[1]), NormalVertex(f[2]), mat)
-			rt.addshape(face)
+			rt.addShape(face)