comparison TaskManager/Test/test_render/SceneGraphRoot.cpp @ 202:76bf19f9e305 draft

fix SceneGraphIterator::hasNext(), next() add variable SceneGraph::sgid, flag_drawbale
author gongo@gendarme.cr.ie.u-ryukyu.ac.jp
date Mon, 26 Jan 2009 16:58:35 +0900
parents 9484318b3e8f
children 1eba8570808c
comparison
equal deleted inserted replaced
201:9484318b3e8f 202:76bf19f9e305
114 /* オリジナルの SceneGraph */ 114 /* オリジナルの SceneGraph */
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;
120 p->flag_drawable = 1;
119 121
120 addNext(p); 122 addNext(p);
121 123
122 return p; 124 return p;
123 } 125 }