Mercurial > hg > Game > Cerium
comparison TaskManager/Test/test_render/SceneGraphRoot.cpp @ 203:1eba8570808c draft
fix CreateSpan::run
author | gongo@localhost.localdomain |
---|---|
date | Mon, 26 Jan 2009 18:30:35 +0900 |
parents | 76bf19f9e305 |
children | f5784443dd50 |
comparison
equal
deleted
inserted
replaced
202:76bf19f9e305 | 203:1eba8570808c |
---|---|
115 src = sg_src[id]; | 115 src = sg_src[id]; |
116 | 116 |
117 /* ユーザーにはオリジナルの clone を返す */ | 117 /* ユーザーにはオリジナルの clone を返す */ |
118 p = src->clone(); | 118 p = src->clone(); |
119 p->sgid = id; | 119 p->sgid = id; |
120 p->flag_drawable = 1; | |
121 | 120 |
122 addNext(p); | 121 addNext(p); |
123 | 122 |
124 return p; | 123 return p; |
125 } | 124 } |
126 | 125 |
126 /** | |
127 * 何も表示しない、move,collision もしない SceneGraph を生成 | |
128 * いずれ、Transform3D 的なものに回す予定 | |
129 */ | |
127 SceneGraphPtr | 130 SceneGraphPtr |
128 SceneGraphRoot::createSceneGraph(void) | 131 SceneGraphRoot::createSceneGraph(void) |
129 { | 132 { |
130 SceneGraphPtr p = new SceneGraph; | 133 SceneGraphPtr p = new SceneGraph; |
131 addNext(p); | 134 addNext(p); |
135 p->flag_drawable = 0; | |
132 return p; | 136 return p; |
133 } | 137 } |
134 | 138 |
135 void | 139 void |
136 SceneGraphRoot::allExecute(int screen_w, int screen_h) | 140 SceneGraphRoot::allExecute(int screen_w, int screen_h) |