diff -r ca7d4c665531 -r 9eb71e76c7fd demos/demo_PIL.py --- a/demos/demo_PIL.py Sat May 10 14:29:37 2008 +0200 +++ b/demos/demo_PIL.py Thu May 15 00:07:25 2008 +0200 @@ -20,15 +20,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()