Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
767:b7e97b6ef386 | 768:06302c1dc87d |
---|---|
531 ApplyMatrix(&light_vector[i*4], light[i]->matrix); | 531 ApplyMatrix(&light_vector[i*4], light[i]->matrix); |
532 | 532 |
533 light_vector[i*4] /= light_vector[i*4+2]; | 533 light_vector[i*4] /= light_vector[i*4+2]; |
534 light_vector[i*4+1] /= light_vector[i*4+2]; | 534 light_vector[i*4+1] /= light_vector[i*4+2]; |
535 | 535 |
536 light_vector[i*4+2] *= -1; | |
537 light_vector[i*4+3] *= -1; | |
536 } | 538 } |
537 | 539 |
538 //sgchange->viewer->light_xyz_stock = getLightVector(); | 540 //sgchange->viewer->light_xyz_stock = getLightVector(); |
539 } | 541 } |
540 | 542 |