From 89ea7f45f946768a8a2ca03589f2df52cd652f72 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 27 Oct 2023 16:44:00 -0700 Subject: [PATCH] wip --- src/model_physics.rs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/model_physics.rs b/src/model_physics.rs index 0f5c8ab..2abc347 100644 --- a/src/model_physics.rs +++ b/src/model_physics.rs @@ -206,6 +206,16 @@ impl MeshQuery for MinkowskiMesh<'_>{ } } fn vert_edges(&self,vert_id:MinkowskiVert)->Cow>{ - todo!() + match vert_id{ + MinkowskiVert::VertVert(v0,v1)=>{ + let v0e=self.mesh0.vert_edges(v0); + let v1e=self.mesh1.vert_edges(v1); + //uh oh dot product + //pass all dots? + //it's a convex hull of {v0e,-v1e} + //each edge needs to know which vert to use from the other mesh + todo!() + }, + } } }