src/scene.c

changeset 259
1315ac4d1368
parent 256
60014484121c
equal deleted inserted replaced
258:9ef9f90eea55 259:1315ac4d1368
150 offsetof(AscSceneNode, children), 150 offsetof(AscSceneNode, children),
151 offsetof(AscSceneNode, next) 151 offsetof(AscSceneNode, next)
152 ); 152 );
153 cx_foreach(AscSceneNode*, node, iter) { 153 cx_foreach(AscSceneNode*, node, iter) {
154 // skip hidden nodes (and all their children) 154 // skip hidden nodes (and all their children)
155 if (asc_test_flag(node->flags, ASC_SCENE_NODE_HIDDEN)) { 155 if (asc_scene_node_is_hidden(node)) {
156 cxTreeVisitorContinue(iter); 156 cxTreeVisitorContinue(iter);
157 } 157 }
158 158
159 // TODO: implement culling 159 // TODO: implement culling
160 160

mercurial