comparison Renderer/Engine/SgChange.cc @ 693:fc0227b5cb5a

debug , aligned light_xyz
author hiroki@localhost.localdomain
date Tue, 08 Dec 2009 19:44:20 +0900
parents 9d1bcc07734b
children 0d8d2b7a3438
comparison
equal deleted inserted replaced
692:50750b118116 693:fc0227b5cb5a
118 HTaskPtr 118 HTaskPtr
119 SgChange::initLoop() 119 SgChange::initLoop()
120 { 120 {
121 HTaskPtr task_next; 121 HTaskPtr task_next;
122 HTaskPtr task_tex; 122 HTaskPtr task_tex;
123 123
124 sgpack = (SceneGraphPack*)manager->allocate(sizeof(SceneGraphPack)); 124 sgpack = (SceneGraphPack*)manager->allocate(sizeof(SceneGraphPack));
125 sgpack->init(); 125 sgpack->init();
126 ppack = (PolygonPack*)manager->allocate(sizeof(PolygonPack)); 126 ppack = (PolygonPack*)manager->allocate(sizeof(PolygonPack));
127 127
128 spackList_length = (this->height + split_screen_h - 1) / split_screen_h; 128 spackList_length = (this->height + split_screen_h - 1) / split_screen_h;
204 sgroot_A->updateControllerState(); 204 sgroot_A->updateControllerState();
205 sgroot_A->allExecute(width, height); 205 sgroot_A->allExecute(width, height);
206 light_xyz_stock = sgroot_A->getLightVector(); 206 light_xyz_stock = sgroot_A->getLightVector();
207 207
208 //printf("Sgroot = %x\n", sgroot_A); 208 //printf("Sgroot = %x\n", sgroot_A);
209 /* 209
210 task_next->set_post(&post2runLoop, (void *)this, 0); 210 //task_next->set_post(&post2runLoop, (void *)this, 0);
211 task_next->spawn(); 211 //task_next->spawn();
212 */ 212
213 rendering(task_next); 213 rendering(task_next);
214 } 214 }
215 215
216 void 216 void
217 SgChange::rendering(HTaskPtr task_next) 217 SgChange::rendering(HTaskPtr task_next)