mirror of
https://github.com/bevyengine/bevy
synced 2025-01-03 08:48:57 +00:00
14 lines
267 B
Rust
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);
|
|
}
|
|
}
|