diff Renderer/Test/direction.cc @ 562:a5fda4e51498

name search
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 22:22:31 +0900
parents ccb33e5bcf89
children d0b8860c17f8
line wrap: on
line diff
--- a/Renderer/Test/direction.cc	Thu Oct 22 19:31:09 2009 +0900
+++ b/Renderer/Test/direction.cc	Thu Oct 22 22:22:31 2009 +0900
@@ -1,6 +1,5 @@
 #include "SceneGraphRoot.h"
 #include "direction.h"
-#include "xml_file/direction.xml.h"
 
 static void
 x_move(SceneGraphPtr node, int w, int h)
@@ -72,9 +71,9 @@
 
     sgroot->createFromXMLfile("xml_file/direction.xml");
 
-    dx = sgroot->createSceneGraph(Dirx);
-    dy = sgroot->createSceneGraph(Diry);
-    dz = sgroot->createSceneGraph(Dirz);
+    dx = sgroot->createSceneGraph("Dirx");
+    dy = sgroot->createSceneGraph("Diry");
+    dz = sgroot->createSceneGraph("Dirz");
     back = sgroot->createSceneGraph();
     
     back->addChild(dx);