This commit is contained in:
2025-11-21 12:46:54 -08:00
parent 03b72301a3
commit 91636747d4

View File

@@ -8,6 +8,11 @@ use crate::model::{MeshQuery,MinkowskiMesh,MinkowskiVert,SubmeshVertId};
// written by Trey Reynolds in 2021 // written by Trey Reynolds in 2021
const SIMPLEX_TETRAHEDRON:usize=4; const SIMPLEX_TETRAHEDRON:usize=4;
// TODO: consider using an enum?
// enum Simplex{
// Simplex1([Vert;1]),
// Simplex2([Vert;2]),
// }
type Simplex=arrayvec::ArrayVec<MinkowskiVert,SIMPLEX_TETRAHEDRON>; type Simplex=arrayvec::ArrayVec<MinkowskiVert,SIMPLEX_TETRAHEDRON>;
/* /*