bevy/crates/bevy_gltf/src/lib.rs

16 lines
290 B
Rust
Raw Normal View History

mod loader;
pub use loader::*;
2020-07-17 01:47:51 +00:00
use bevy_app::prelude::*;
2020-05-16 07:27:30 +00:00
use bevy_asset::AddAsset;
2020-05-22 00:21:33 +00:00
use bevy_render::mesh::Mesh;
#[derive(Default)]
pub struct GltfPlugin;
2020-04-20 02:29:33 +00:00
2020-08-08 03:22:17 +00:00
impl Plugin for GltfPlugin {
fn build(&self, app: &mut AppBuilder) {
2020-05-22 00:21:33 +00:00
app.add_asset_loader::<Mesh, GltfLoader>();
}
2020-05-16 07:27:30 +00:00
}