idea
This commit is contained in:
@@ -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>;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user