comment about winding

This commit is contained in:
Quaternions 2023-11-28 19:52:46 -08:00
parent 9d266e7be1
commit 2152ae3c7b

View File

@ -557,6 +557,7 @@ impl MeshQuery<MinkowskiFace,MinkowskiDirectedEdge,MinkowskiVert> for MinkowskiM
let e0v=self.mesh0.edge_verts(e0); let e0v=self.mesh0.edge_verts(e0);
let e1v=self.mesh1.edge_verts(e1); let e1v=self.mesh1.edge_verts(e1);
//could sort this if ordered edges are needed //could sort this if ordered edges are needed
//probably just need to reverse this list according to parity
Cow::Owned(vec![ Cow::Owned(vec![
MinkowskiDirectedEdge::VertEdge(e0v[0],e1.as_directed(parity)), MinkowskiDirectedEdge::VertEdge(e0v[0],e1.as_directed(parity)),
MinkowskiDirectedEdge::EdgeVert(e0.as_directed(!parity),e1v[0]), MinkowskiDirectedEdge::EdgeVert(e0.as_directed(!parity),e1v[0]),