Mercurial > hg > Members > kono > tree_dandy2
changeset 28:789e845ea192
change root xyz
author | Yutaka_Kinjyo |
---|---|
date | Sat, 18 Dec 2010 12:32:06 +0900 |
parents | 8b80f670cf1c |
children | 606bdb2f721d |
files | Dandy.cc |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Dandy.cc Tue Dec 14 12:58:20 2010 +0900 +++ b/Dandy.cc Sat Dec 18 12:32:06 2010 +0900 @@ -255,8 +255,10 @@ sgroot->sgroot->lightCalc(); root = sgroot->createSceneGraph(); - root->xyz[0] = screen_w/2; - root->xyz[1] = screen_h/2;; + //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; /*親の回転、座標から、子の回転、座標を算出*/