Demo: fix light direction in demo dir_light 27/14327/2
Calixte DENIZET [Thu, 3 Apr 2014 13:42:37 +0000 (15:42 +0200)]
Change-Id: I282dd19aeacf3626b2670183bcd315c2397b24b8

scilab/modules/graphics/demos/lighting/dir_light.dem.sce

index 0e588ad..b48a35d 100644 (file)
@@ -17,7 +17,7 @@ function demo_dir_light()
     plot3d;l=light();s=gce();
 
     l.light_type = "directional";
-    l.direction = [1 0 1];
+    l.direction = [-1 0 -1];
     l.ambient_color = [0.1 0.1 0.1];
     s.diffuse_color = [0.5 0.4 0.4];
     s.use_color_material = "off";