branch | pyrit |
changeset 72 | 7c3f38dff082 |
parent 69 | 303583d2fb97 |
child 85 | 907a634e5c02 |
--- a/ccdemos/realtime_bunny.cc Sat Apr 19 18:00:27 2008 +0200 +++ b/ccdemos/realtime_bunny.cc Sun Apr 20 16:48:24 2008 +0200 @@ -15,11 +15,11 @@ Light light1(Vector3(-5.0, 2.0, 8.0), Colour(0.9, 0.3, 0.6)); light1.castShadows(false); - rt.addlight(&light1); + rt.addLight(&light1); //Light light2(Vector3(-2.0, 10.0, 2.0), Colour(0.4, 0.6, 0.3)); //light2.castShadows(false); - //rt.addlight(&light2); + //rt.addLight(&light2); Material mat(Colour(0.9, 0.9, 0.9)); mat.setSmooth(true);