style
This commit is contained in:
parent
46d6c31957
commit
6071e23be1
@ -790,9 +790,7 @@ impl TouchingState{
|
|||||||
match models.attr(contact.model_id){
|
match models.attr(contact.model_id){
|
||||||
PhysicsCollisionAttributes::Contact{contacting,general}=>{
|
PhysicsCollisionAttributes::Contact{contacting,general}=>{
|
||||||
match &general.accelerator{
|
match &general.accelerator{
|
||||||
Some(accelerator)=>{
|
Some(accelerator)=>a+=accelerator.acceleration,
|
||||||
a+=accelerator.acceleration;
|
|
||||||
},
|
|
||||||
None=>(),
|
None=>(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -803,9 +801,7 @@ impl TouchingState{
|
|||||||
match models.attr(intersect.model_id){
|
match models.attr(intersect.model_id){
|
||||||
PhysicsCollisionAttributes::Intersect{intersecting,general}=>{
|
PhysicsCollisionAttributes::Intersect{intersecting,general}=>{
|
||||||
match &general.accelerator{
|
match &general.accelerator{
|
||||||
Some(accelerator)=>{
|
Some(accelerator)=>a+=accelerator.acceleration,
|
||||||
a+=accelerator.acceleration;
|
|
||||||
},
|
|
||||||
None=>(),
|
None=>(),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user