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 |