diff --git a/src/source.rs b/src/source.rs index f75b321..260d62b 100644 --- a/src/source.rs +++ b/src/source.rs @@ -34,11 +34,8 @@ impl Loader{ mesh_loader:MeshLoader{mesh_paths:HashMap::new()}, } } - pub fn texture_mut(&self)->&mut TextureLoader{ - &mut self.texture_loader - } - pub fn mesh_mut(&self)->&mut MeshLoader{ - &mut self.mesh_loader + pub fn get_inner_mut(&mut self)->(&mut TextureLoader,&mut MeshLoader){ + (&mut self.texture_loader,&mut self.mesh_loader) } }