镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

add grow_and_insert method - #92

Merged
james7132 merged 2 commits into
petgraph:masterfrom
shuoli84:grow_and_insert
Feb 16, 2023
Merged

james7132 merged 2 commits into
petgraph:masterfrom
shuoli84:grow_and_insert

Conversation

@shuoli84

Copy link
Copy Markdown
Contributor

add a helper method grow_and_insert. I've seen bevy always calls with first grow(bits + 1), followed by a insert. like: https://github.com/bevyengine/bevy/blob/main/crates/bevy_ecs/src/query/access.rs#L98

Comment thread src/lib.rs Resolved
@james7132
james7132 merged commit 42335ce into petgraph:master Feb 16, 2023
@shuoli84
shuoli84 deleted the grow_and_insert branch February 17, 2023 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants