Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/SceneGraphRoot.cc @ 533:bf9c44b21d67 draft
add Application/send_linda.cc
author | aaa |
---|---|
date | Thu, 22 Oct 2009 19:34:38 +0900 |
parents | 413667c70a1d |
children | 4c7125468f69 |
comparison
equal
deleted
inserted
replaced
528:7243d7e09d5b | 533:bf9c44b21d67 |
---|---|
115 xmlStrcmp(cur->name,(xmlChar*)"OBJECT-3D"); | 115 xmlStrcmp(cur->name,(xmlChar*)"OBJECT-3D"); |
116 | 116 |
117 /* XMLのノードを一つずつ解析 */ | 117 /* XMLのノードを一つずつ解析 */ |
118 for (cur=cur->children; cur; cur=cur->next) { | 118 for (cur=cur->children; cur; cur=cur->next) { |
119 /* 扱うのはsurfaceオンリー */ | 119 /* 扱うのはsurfaceオンリー */ |
120 if (xmlStrcmp(cur->name,(xmlChar*)"surface") != 0) { | 120 if (xmlStrcmp(cur->name,(xmlChar*)"surface") != 0) { |
121 continue; | 121 continue; |
122 } | 122 } |
123 | 123 |
124 /* ポリゴン(SceneGraph)生成 */ | 124 /* ポリゴン(SceneGraph)生成 */ |
125 tmp = new SceneGraph(manager, cur); | 125 tmp = new SceneGraph(manager, cur); |
126 | 126 |
127 registSceneGraph(tmp); | 127 addSceneGraphList(manager, tmp); |
128 | |
129 registSceneGraphList(tmp); | |
128 } | 130 } |
129 | 131 |
130 xmlFreeDoc(doc); | 132 xmlFreeDoc(doc); |
131 } | 133 } |
132 | 134 |