--- a/demos/spheres_shadow.py Sat May 10 14:29:37 2008 +0200
+++ b/demos/spheres_shadow.py Thu May 15 00:07:25 2008 +0200
@@ -19,15 +19,15 @@
rt.addShape(box)
mat1 = Material(colour=(1.0, 0.0, 0.0))
-bigsphere = Sphere(centre=(3.0, 2.0, -7.0), radius=3.0, material=mat1)
+bigsphere = Sphere(center=(3.0, 2.0, -7.0), radius=3.0, material=mat1)
rt.addShape(bigsphere)
mat2 = Material(colour=(0.0, 1.0, 0.0))
-smallsphere = Sphere(centre=(-5.5, 1.5, -8.0), radius=2.0, material=mat2)
+smallsphere = Sphere(center=(-5.5, 1.5, -8.0), radius=2.0, material=mat2)
rt.addShape(smallsphere)
mat3 = Material(colour=(0.0, 0.0, 1.0))
-tinysphere = Sphere(centre=(-1.2, 0.0, -2.0), radius=0.5, material=mat3)
+tinysphere = Sphere(center=(-1.2, 0.0, -2.0), radius=0.5, material=mat3)
rt.addShape(tinysphere)
top.optimize()