implicitly apply_to_body in apply_enum
This commit is contained in:
parent
d2a864e2c1
commit
fad7ed393b
@ -500,6 +500,7 @@ impl MoveState{
|
|||||||
},
|
},
|
||||||
_=>(),
|
_=>(),
|
||||||
}
|
}
|
||||||
|
self.apply_to_body(body,touching,models,hitbox_mesh,style,camera,input_state);
|
||||||
}
|
}
|
||||||
//function to coerce &mut self into &self
|
//function to coerce &mut self into &self
|
||||||
fn apply_to_body(&self,body:&mut Body,touching:&TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,style:&StyleModifiers,camera:&PhysicsCamera,input_state:&InputState){
|
fn apply_to_body(&self,body:&mut Body,touching:&TouchingState,models:&PhysicsModels,hitbox_mesh:&HitboxMesh,style:&StyleModifiers,camera:&PhysicsCamera,input_state:&InputState){
|
||||||
|
Loading…
Reference in New Issue
Block a user