pub mod bytes; pub mod time; pub mod transform; use bevy_app::{stage, AppBuilder, AppPlugin}; use bevy_type_registry::RegisterType; use bevy_transform::{ components::{ Children, LocalToParent, LocalToWorld, NonUniformScale, Rotation, Scale, Translation, }, transform_system_bundle, }; use glam::{Mat3, Mat4, Quat, Vec2, Vec3}; use legion::prelude::IntoSystem; use time::{start_timer_system, stop_timer_system, Time}; #[derive(Default)] pub struct CorePlugin; impl AppPlugin for CorePlugin { fn build(&self, app: &mut AppBuilder) { for transform_system in transform_system_bundle::build(app.world_mut()).drain(..) { app.add_system(transform_system); } app.init_resource::