Mercurial > hg > Members > koba > t_dandy
diff Dandy.cc @ 19:00c3272a801f
fix.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 26 Dec 2010 18:57:08 +0900 |
parents | 23d54565aa7b |
children | 39e643fc4f90 |
line wrap: on
line diff
--- a/Dandy.cc Fri Dec 17 22:18:11 2010 +0900 +++ b/Dandy.cc Sun Dec 26 18:57:08 2010 +0900 @@ -151,7 +151,7 @@ static void _LightSysSwitch(Viewer *sgroot) { if (light_sysswitch == 1) { - sgroot->OnLightSysSwitch(); + sgroot->OffLightSysSwitch(); for (int i = 0; i < light_num; i++) { SceneGraphPtr light = sgroot->getLight(i); sgroot->OnLightSwitch(i); @@ -242,8 +242,8 @@ sgroot->sgroot->lightCalc(); root = sgroot->createSceneGraph(); - root->xyz[0] = screen_w/2; - root->xyz[1] = screen_h/2;; + root->xyz[0] = 0; + root->xyz[1] = 0; root->xyz[2] = 30.0f; /*親の回転、座標から、子の回転、座標を算出*/