demos/spheres_ao.py
branchpyrit
changeset 96 9eb71e76c7fd
parent 95 ca7d4c665531
--- a/demos/spheres_ao.py	Sat May 10 14:29:37 2008 +0200
+++ b/demos/spheres_ao.py	Thu May 15 00:07:25 2008 +0200
@@ -21,15 +21,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()