demos/dragon.py
branchpyrit
changeset 75 20dee9819b17
parent 69 303583d2fb97
child 90 f6a72eb99631
--- a/demos/dragon.py	Mon Apr 21 08:47:36 2008 +0200
+++ b/demos/dragon.py	Mon Apr 21 09:05:09 2008 +0200
@@ -14,10 +14,10 @@
 	mat, scale=(-29.0, 29.0, -29.0), trans=(0.0, -3.6, 0.0))
 
 light1 = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.2))
-rt.addlight(light1)
+rt.addLight(light1)
 
 light2 = Light(position=(3.0, 0.0, 9.0), colour=(0.0, 1.0, 0.2))
-rt.addlight(light2)
+rt.addLight(light2)
 
 imagesize = (800, 600)
 data = rt.render(imagesize)