mirror of
https://github.com/eliasstepanik/big_space_with_trim.git
synced 2026-01-10 23:58:28 +00:00
I ran into an issue when trying to add the transform propagation systems
to a schedule more than once. The app would panic because there was more
than one instance of `propagate_transforms::<P>` and
`recenter_transform_on_grid::<P>` in the system graph, so Bevy didn't
know how to actually resolve the dependencies. By using a `SystemSet`,
we can avoid this issue nicely.
Unfortunately, I couldn't come up with a good name for the set, so I
decided to stick the definition inside the `build()` method itself. That
way at least the poor naming won't be exposed 😛. It still feels a little
icky to me though.
---------
Co-authored-by: Aevyrie <aevyrie@gmail.com>
Co-authored-by: Pyxrs <simplycmd00@gmail.com>
32 lines
888 B
TOML
32 lines
888 B
TOML
[package]
|
|
name = "big_space"
|
|
version = "0.4.0"
|
|
edition = "2021"
|
|
description = "A floating origin plugin for bevy"
|
|
license = "MIT OR Apache-2.0"
|
|
keywords = ["bevy", "floating-origin", "large-scale", "space"]
|
|
repository = "https://github.com/aevyrie/big_space"
|
|
documentation = "https://docs.rs/crate/big_space/latest"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
bevy = { version = "0.12", default_features = false }
|
|
|
|
[dev-dependencies]
|
|
bevy = { version = "0.12", default-features = false, features = [
|
|
"bevy_winit",
|
|
"default_font",
|
|
"bevy_ui",
|
|
"bevy_pbr",
|
|
"x11",
|
|
"tonemapping_luts",
|
|
] }
|
|
bevy_framepace = { version = "0.14", default-features = false }
|
|
|
|
[features]
|
|
default = ["debug", "camera", "bevy_render"]
|
|
debug = ["bevy/bevy_gizmos"]
|
|
bevy_render = ["bevy/bevy_render"]
|
|
camera = ["bevy_render"]
|