Voxellancer
0.3
A game about voxels in space
|
Public Member Functions | |
WorldTreeQuery (WorldTree *worldTree, const AbstractShape *shape, WorldTreeNode *nodeHint=nullptr, CollisionFilter *collisionFilter=nullptr) | |
bool | areGeodesNear () |
std::unordered_set < WorldTreeGeode * > | nearGeodes () |
bool | areVoxelsIntersecting () |
std::unordered_set< Voxel * > | intersectingVoxels () |
std::unordered_set< WorldObject * > | intersectingWorldObjects () |
Protected Member Functions | |
WorldTreeNode * | getQueryRoot (WorldTreeNode *node=nullptr) const |
void | query (WorldTreeNode *node, std::function< void(WorldTreeGeode *)> onGeodeInteraction) |
Protected Attributes | |
WorldTree * | m_worldTree |
WorldTreeNode * | m_nodeHint |
CollisionFilter * | m_collisionFilter |
const AbstractShape * | m_shape |
bool | m_queryInterrupted |