1 #ifndef _VOXEL_DEPTH_SEARCH_
2 #define _VOXEL_DEPTH_SEARCH_
4 #include <dragonstd/tree.h>
9 DEPTH_SEARCH_TARGET, // goal has been reached
10 DEPTH_SEARCH_PATH, // can used this as path
11 DEPTH_SEARCH_BLOCK // cannot use this as paths
12 } DepthSearchNodeType;
16 DepthSearchNodeType type;
20 bool voxel_depth_search(v3s32 pos, DepthSearchNodeType (*get_type)(v3s32 pos), bool *success, Tree *visit);
22 #endif // _VOXEL_DEPTH_SEARCH_