use bevy::{ asset::{Asset, AssetStorage}, math::{Mat4, Quat, Vec3}, render::*, Parent, Schedulable, *, }; struct Rotator; fn main() { AppBuilder::new() .add_defaults() .setup_world(setup) .setup_systems(|builder| builder.add_system(build_rotator_system())) .run(); } fn build_rotator_system() -> Box { SystemBuilder::new("Rotator") .read_resource::