From 5dacfd85074821a0ad43be51c979f32f74ed2dec Mon Sep 17 00:00:00 2001 From: Aevyrie Date: Fri, 10 Nov 2023 01:51:13 -0600 Subject: [PATCH] fix examples --- Cargo.toml | 11 +++++++++-- examples/error.rs | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 217f426..33c07b8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/examples/error.rs b/examples/error.rs index 6740648..8609a91 100644 --- a/examples/error.rs +++ b/examples/error.rs @@ -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