fix idiot

This commit is contained in:
Quaternions 2023-11-06 16:35:47 -08:00
parent 535ae1a5f0
commit e6e7366e66

View File

@ -782,7 +782,7 @@ impl TouchingState{
collector.collect(models.mesh(contact.model_id).brute_out_face(body,collector.time(),contact.face_id).map(|(face,time)|{ collector.collect(models.mesh(contact.model_id).brute_out_face(body,collector.time(),contact.face_id).map(|(face,time)|{
TimedInstruction{ TimedInstruction{
time, time,
instruction:PhysicsInstruction::CollisionStart( instruction:PhysicsInstruction::CollisionEnd(
Collision::Contact(ContactCollision{model_id:contact.model_id,face_id:face}) Collision::Contact(ContactCollision{model_id:contact.model_id,face_id:face})
), ),
} }
@ -794,7 +794,7 @@ impl TouchingState{
collector.collect(models.mesh(intersect.model_id).brute_out(&relative_body,collector.time()).map(|(face,time)|{ collector.collect(models.mesh(intersect.model_id).brute_out(&relative_body,collector.time()).map(|(face,time)|{
TimedInstruction{ TimedInstruction{
time, time,
instruction:PhysicsInstruction::CollisionStart( instruction:PhysicsInstruction::CollisionEnd(
Collision::Intersect(IntersectCollision{model_id:intersect.model_id}) Collision::Intersect(IntersectCollision{model_id:intersect.model_id})
), ),
} }