fix examples

This commit is contained in:
Aevyrie 2023-11-10 01:51:13 -06:00
parent bd8e226491
commit 5dacfd8507
2 changed files with 10 additions and 3 deletions

View File

@ -14,8 +14,15 @@ documentation = "https://docs.rs/crate/big_space/latest"
bevy = { version = "0.11", default_features = false }
[dev-dependencies]
bevy = "0.11"
bevy_framepace = { version = "0.13", default-features = false }
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"]

View File

@ -26,7 +26,7 @@ fn main() {
///
/// This plugin can function much further from the origin without any issues. Try setting this to:
/// 10_000_000_000_000_000_000_000_000_000_000_000_000
const DISTANCE: i128 = 10_000_000_000_000_000_000_000_000_000_000_000_000;
const DISTANCE: i128 = 10_000_000;
/// Move the floating origin back to the "true" origin when the user presses the spacebar to emulate
/// disabling the plugin. Normally you would make your active camera the floating origin to avoid