demos/render_nff.py
branchpyrit
changeset 96 9eb71e76c7fd
parent 95 ca7d4c665531
child 98 64638385798a
--- a/demos/render_nff.py	Sat May 10 14:29:37 2008 +0200
+++ b/demos/render_nff.py	Thu May 15 00:07:25 2008 +0200
@@ -72,7 +72,7 @@
 	elif ln[0] == 's':	# Sphere
 		center = (float(ln[1]), float(ln[2]), float(ln[3]))
 		radius = float(ln[4])
-		rt.addShape(Sphere(centre=center, radius=radius, material=mat))
+		rt.addShape(Sphere(center=center, radius=radius, material=mat))
 	elif ln[0] == 'p':	# Polygon
 		vertex_count = int(ln[1])
 		vertices = []