diff Renderer/Engine/SceneGraphRoot.cc @ 768:06302c1dc87d draft

add add spe/chain_move Test/property_chain, not workd
author hiroki@henri.cr.ie.u-ryukyu.ac.jp
date Sun, 14 Feb 2010 01:23:38 +0900
parents f1d92ef5cbaa
children 4d83a6a958fd
line wrap: on
line diff
--- a/Renderer/Engine/SceneGraphRoot.cc	Sat Feb 13 17:34:26 2010 +0900
+++ b/Renderer/Engine/SceneGraphRoot.cc	Sun Feb 14 01:23:38 2010 +0900
@@ -533,6 +533,8 @@
       light_vector[i*4] /= light_vector[i*4+2];
       light_vector[i*4+1] /= light_vector[i*4+2];
 
+      light_vector[i*4+2] *= -1;
+      light_vector[i*4+3] *= -1;
     }    
     
     //sgchange->viewer->light_xyz_stock = getLightVector();