ignore precision

This commit is contained in:
Quaternions 2024-09-16 15:03:52 -07:00
parent c5f9a30c1b
commit 462950d526

View File

@ -1292,7 +1292,8 @@ impl PhysicsContext{
fn contact_normal(models:&PhysicsModels,hitbox_mesh:&HitboxMesh,contact:&ContactCollision)->Planar64Vec3{
let model_mesh=models.contact_mesh(contact);
let minkowski=model_physics::MinkowskiMesh::minkowski_sum(model_mesh,hitbox_mesh.transformed_mesh());
minkowski.face_nd(contact.face_id).0
// TODO: normalize to i64::MAX>>1
minkowski.face_nd(contact.face_id).0.fix_1()
}
fn recalculate_touching(