--- a/demos/triangles_sphere.py Mon Apr 21 08:47:36 2008 +0200
+++ b/demos/triangles_sphere.py Mon Apr 21 09:05:09 2008 +0200
@@ -9,12 +9,12 @@
LoadWavefrontObjFile(rt, "../models/obj/sphere.obj", mat, 1.5)
light1 = Light(position=(0.0, 2.0, 6.0), colour=(0.9, 0.3, 0.6))
-light1.castshadows(False);
-rt.addlight(light1)
+light1.castShadows(False);
+rt.addLight(light1)
light2 = Light(position=(-2.0, -5.0, 7.0), colour=(0.7, 1.0, 0.3))
-light2.castshadows(False);
-rt.addlight(light2)
+light2.castShadows(False);
+rt.addLight(light2)
imagesize = (800, 600)
data = rt.render(imagesize)