bevy/crates/bevy_gltf/src/lib.rs
Carter Anderson b1f07e3749 cargo fmt
2020-05-16 00:27:30 -07:00

14 lines
267 B
Rust

mod loader;
pub use loader::*;
use bevy_app::{AppBuilder, AppPlugin};
use bevy_asset::AddAsset;
#[derive(Default)]
pub struct GltfPlugin;
impl AppPlugin for GltfPlugin {
fn build(&self, app: &mut AppBuilder) {
app.add_asset_loader(GltfLoader);
}
}