rustified
This commit is contained in:
parent
1fca3fb3f4
commit
926e18abf7
@ -34,11 +34,8 @@ impl Loader{
|
|||||||
mesh_loader:MeshLoader{mesh_paths:HashMap::new()},
|
mesh_loader:MeshLoader{mesh_paths:HashMap::new()},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub fn texture_mut(&self)->&mut TextureLoader{
|
pub fn get_inner_mut(&mut self)->(&mut TextureLoader,&mut MeshLoader){
|
||||||
&mut self.texture_loader
|
(&mut self.texture_loader,&mut self.mesh_loader)
|
||||||
}
|
|
||||||
pub fn mesh_mut(&self)->&mut MeshLoader{
|
|
||||||
&mut self.mesh_loader
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user