comparison Renderer/Test/gaplant.cc @ 1144:e068c1269292 draft

light fix
author Yutaka_Kinjyo
date Sat, 19 Feb 2011 03:54:12 +0900
parents 801d57ae1e29
children
comparison
equal deleted inserted replaced
1143:786e800abfb4 1144:e068c1269292
9 SceneGraphPtr back; 9 SceneGraphPtr back;
10 SceneGraphPtr gaplant; 10 SceneGraphPtr gaplant;
11 sgroot->createFromXMLfile("xml_file/gap_plane_test.xml"); 11 sgroot->createFromXMLfile("xml_file/gap_plane_test.xml");
12 sgroot->createFromXMLfile("xml_file/Ball.xml"); 12 sgroot->createFromXMLfile("xml_file/Ball.xml");
13 13
14 //sgroot->OnLightSysSwitch(); 14 sgroot->OnLightSysSwitch();
15 15
16 back = sgroot->createSceneGraph(); 16 back = sgroot->createSceneGraph();
17 back->set_move_collision(back_move, back_coll); 17 back->set_move_collision(back_move, back_coll);
18 gaplant = sgroot->createSceneGraph(); 18 gaplant = sgroot->createSceneGraph();
19 gaplant->xyz[0] = w / 2; 19 gaplant->xyz[0] = w / 2;