mirror of
https://github.com/eliasstepanik/big_space_with_trim.git
synced 2026-01-10 23:58:28 +00:00
fix feature needed for camera
This commit is contained in:
parent
0844896379
commit
2268c52379
@ -18,5 +18,6 @@ bevy = "0.11"
|
||||
bevy_framepace = { version = "0.13", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["debug"]
|
||||
default = ["debug", "camera"]
|
||||
debug = ["bevy/bevy_gizmos"]
|
||||
camera = ["bevy/bevy_render"]
|
||||
|
||||
@ -90,7 +90,6 @@ use bevy::{math::DVec3, prelude::*, reflect::TypePath, transform::TransformSyste
|
||||
use propagation::propagate_transforms;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
pub mod camera;
|
||||
pub mod grid_cell;
|
||||
pub mod precision;
|
||||
pub mod propagation;
|
||||
@ -100,6 +99,9 @@ pub use grid_cell::GridCell;
|
||||
#[cfg(feature = "debug")]
|
||||
pub mod debug;
|
||||
|
||||
#[cfg(feature = "camera")]
|
||||
pub mod camera;
|
||||
|
||||
use precision::*;
|
||||
|
||||
/// Add this plugin to your [`App`] for floating origin functionality.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user