Rename assets crate to asset
This commit is contained in:
parent
3458662cfc
commit
9816f14f53
7 changed files with 4 additions and 4 deletions
|
|
@ -1,14 +0,0 @@
|
|||
use std::cell::RefCell;
|
||||
use std::path::Path;
|
||||
use std::rc::Rc;
|
||||
|
||||
pub type ModelManagerRef = Rc<RefCell<Box<dyn ModelManager>>>;
|
||||
|
||||
|
||||
/// The asset manager trait of Raidillon.
|
||||
pub trait ModelManager {
|
||||
/// Loads a gltf model to VRAM.
|
||||
fn load_gltf(&mut self, path: &Path);
|
||||
/// Unloads the loaded model from VRAM.
|
||||
fn unload_model(&mut self, path: &Path);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue