-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
0.2.0 * Adds support for archetypes with `Vec`-like dynamic storage capacity. This can be used by setting the keyword `dyn` as the capacity value in the `ecs_archetype!` declaration. Worlds generated by `ecs_world!` now have a `with_capacity` function with arguments for each dynamic archetype to pre-allocate storage. * Fixed-capacity archetypes won't have arguments in `with_capacity` -- they are always allocated to their full fixed capacity on world creation. * Resolves #3 * Adds an `Entity<_>` pseudo-parameter to queries. This will match any archetype like `EntityAny`, but will yield a typed `Entity<A>` for the currently-matched archetype in the query body. * Adds a new `32_components` crate feature to go up to 32 maximum components in a single archetype. Enabling this feature may impact compile times.
- Loading branch information
Showing
21 changed files
with
1,779 additions
and
378 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.