This commit is contained in:
Quaternions 2023-11-21 20:37:16 -08:00
parent 481a37e0f4
commit aa0e03bc0c

View File

@ -456,6 +456,7 @@ impl MinkowskiMesh<'_>{
}; };
for (i,&face_id) in self.edge_faces(edge_id).iter().enumerate(){ for (i,&face_id) in self.edge_faces(edge_id).iter().enumerate(){
let face_n=self.face_nd(face_id).0; let face_n=self.face_nd(face_id).0;
println!("face_id={:?} face_n={}",face_id,face_n);
//edge-face boundary nd, n facing out of the face towards the edge //edge-face boundary nd, n facing out of the face towards the edge
let boundary_n=face_n.cross(edge_n)*(i as i64*2-1); let boundary_n=face_n.cross(edge_n)*(i as i64*2-1);
let boundary_d=boundary_n.dot(vert_sum); let boundary_d=boundary_n.dot(vert_sum);