amethyst / amethyst/legion

[Feature Request] Add a BitSet join iterator

Aberta
#182 0 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
1.7k
Forks
140
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.