ignore precision
This commit is contained in:
parent
c5f9a30c1b
commit
462950d526
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user