mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
add entities.get_all(...), .get_all_in_box(...), .get_all_in_radius(...)
This commit is contained in:
parent
b499714d4b
commit
1eac343619
7 changed files with 100 additions and 0 deletions
|
|
@ -210,6 +210,7 @@ public:
|
|||
void onSave(const Entity& entity);
|
||||
bool hasBlockingInside(AABB aabb);
|
||||
std::vector<Entity> getAllInside(AABB aabb);
|
||||
std::vector<Entity> getAllInRadius(glm::vec3 center, float radius);
|
||||
void despawn(entityid_t id);
|
||||
dynamic::Value serialize(const Entity& entity);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue