Crates.io | bevy_infinite_grid |
lib.rs | bevy_infinite_grid |
version | 0.13.1 |
source | src |
created_at | 2022-06-06 18:23:04.718356 |
updated_at | 2024-11-08 21:28:59.800384 |
description | A 3D infinite grid for Bevy |
homepage | |
repository | https://github.com/ForesightMiningSoftwareCorporation/bevy_infinite_grid |
max_upload_size | |
id | 600899 |
size | 280,844 |
Run a simple implementation of this grid by cloning this repository and running:
cargo run --example simple
Add the plugin to the [dependencies]
in Cargo.toml
bevy_infinite_grid = { git = "https://github.com/ForesightMiningSoftwareCorporation/bevy_infinite_grid", branch = "main" }
Insert the infinite grid plugin after the default plugins.
.add_plugins(InfiniteGridPlugin)
And spawn the grid to see the results.
commands.spawn(InfiniteGridBundle::new(
materials.add(InfiniteGridMaterial::default()),
));
See the simple demo for an example of a minimal implementation.
We intend to track the main
branch of Bevy. PRs supporting this are welcome!
bevy | bevy_infinite_grid |
---|---|
0.14 | 0.13 |
0.13 | 0.11, 0.12 |
0.12 | 0.10 |
0.11 | 0.8, 0.9 |
bevy_infinite_grid is free and open source! All code in this repository is dual-licensed under either:
at your option. This means you can select the license you prefer! This dual-licensing approach is the de-facto standard in the Rust ecosystem and there are very good reasons to include both.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.