add bevy_derive to prelude

This commit is contained in:
Carter Anderson 2020-03-22 01:33:53 -07:00
parent 5d893a83f2
commit c6d7402318
5 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,5 @@
use bevy::prelude::*;
use bevy_derive::Uniforms;
#[derive(Uniforms, Default)]
struct MyMaterial {
pub color: Color,

View File

@ -9,7 +9,6 @@ crate-type = ["cdylib"]
[dependencies]
bevy = { path = "../../../../bevy" }
bevy_derive = { path = "../../../bevy_derive" }
[profile.release]
debug = true

View File

@ -1,5 +1,4 @@
use bevy::{prelude::*, plugin::AppPlugin};
use bevy_derive::RegisterAppPlugin;
#[derive(RegisterAppPlugin)]
pub struct ExamplePlugin;

View File

@ -13,4 +13,4 @@ pub mod ui;
pub use bevy_transform as transform;
pub use glam as math;
pub use legion;
pub use once_cell;
pub use once_cell;

View File

@ -24,3 +24,4 @@ pub use legion::{
},
};
pub use math::{Mat3, Mat4, Quat, Vec2, Vec3, Vec4};
pub use bevy_derive::*;