Expose m_world in flecs::query
@@ -123,6 +123,10 @@ private:
return ecs_query_next_instanced;
}
+ flecs::world world() const {
+ return flecs::world(m_world);
+ }
+
public:
using query_base::query_base;
};
