amethyst / amethyst/legion

[Feature Request] Add a BitSet join iterator

未關閉
#182 0 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Rust
星號
1.7k
分支
140
PR 合併指標
30 天內沒有已合併 PR

描述

SPECS has a `BitSet` that can store a set of entities, and it can be used in component queries.

Here's an example from Amethyst, where the skin component stores a set of mesh entities:

https://github.com/amethyst/amethyst/blob/9453e966c468e9eef219b3c45a49a025a1dca2e8/amethyst_animation/src/skinning/systems.rs#L103

I'm not aware of any equivalent in legion. I think it would prove useful, at least for porting Amethyst to legion.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。