forked from StrafesNET/strafe-client
lol idk #1
@ -1065,6 +1065,9 @@ impl PhysicsContext{
|
|||||||
}
|
}
|
||||||
pub fn generate_models(&mut self,map:&map::CompleteMap){
|
pub fn generate_models(&mut self,map:&map::CompleteMap){
|
||||||
self.data.modes=map.modes.clone();
|
self.data.modes=map.modes.clone();
|
||||||
|
for mode in &mut self.data.modes.modes{
|
||||||
|
mode.denormalize_data();
|
||||||
|
}
|
||||||
let mut used_attributes=Vec::new();
|
let mut used_attributes=Vec::new();
|
||||||
let mut physics_attr_id_from_model_attr_id=HashMap::<CollisionAttributesId,PhysicsAttributesId>::new();
|
let mut physics_attr_id_from_model_attr_id=HashMap::<CollisionAttributesId,PhysicsAttributesId>::new();
|
||||||
let mut used_meshes=Vec::new();
|
let mut used_meshes=Vec::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user