rustified

This commit is contained in:
Quaternions 2024-02-13 22:12:43 -08:00
parent 1fca3fb3f4
commit 926e18abf7

View File

@ -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)
}
}