diff TaskManager/Test/test_render/viewer.cc @ 454:c89b034ca2ea draft

Chain work
author kazz@henri.cr.ie.u-ryukyu.ac.jp
date Sat, 26 Sep 2009 00:17:04 +0900
parents 574be19530a5
children 60f44d3ea452
line wrap: on
line diff
--- a/TaskManager/Test/test_render/viewer.cc	Fri Sep 25 23:51:55 2009 +0900
+++ b/TaskManager/Test/test_render/viewer.cc	Sat Sep 26 00:17:04 2009 +0900
@@ -25,7 +25,7 @@
 int frames;
 
 SceneGraphRootPtr sgroot;
-SceneGraphRootPtr sgroot_2;
+//SceneGraphRootPtr sgroot_2;
 
 /* Data Pack sent to Other CPUs (ex. SPE) */
 SceneGraphPack *sgpack;
@@ -115,7 +115,7 @@
     frames     = 0;
 
     sgroot = new SceneGraphRoot(this->width, this->height);
-    sgroot_2 = new SceneGraphRoot(this->width, this->height);
+//    sgroot_2 = new SceneGraphRoot(this->width, this->height);
     //sgroot->createFromXMLFile(xml);
     // ここの switch は application->init(this, manager, sg_no); になるべき
     switch (sg_number) {
@@ -163,12 +163,12 @@
         break;
     case 16:
 		app = new Chain();
-        app->init(manager, this->width, this-> height);
+        app->init(manager, this->width, this->height);
 		speLoop();
 		return;
         break;
     case 17:
-        chain_old_init(manager, this->width, this-> height);
+        chain_old_init(manager, this->width, this->height);
 		break;
     default:
         node_init(manager);
@@ -541,7 +541,7 @@
     }
 
     delete sgroot;
-    delete sgroot_2;
+//    delete sgroot_2;
     quit();
 }