fix feature needed for camera

This commit is contained in:
Aevyrie 2023-07-19 22:16:03 -07:00
parent 0844896379
commit 2268c52379
2 changed files with 5 additions and 2 deletions

View File

@ -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"]

View File

@ -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.