forked from StrafesNET/strafe-client
wip
This commit is contained in:
parent
01d74102e3
commit
89ea7f45f9
@ -206,6 +206,16 @@ impl MeshQuery<MinkowskiFace,MinkowskiEdge,MinkowskiVert> for MinkowskiMesh<'_>{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
fn vert_edges(&self,vert_id:MinkowskiVert)->Cow<Vec<(MinkowskiEdge,MinkowskiFace)>>{
|
fn vert_edges(&self,vert_id:MinkowskiVert)->Cow<Vec<(MinkowskiEdge,MinkowskiFace)>>{
|
||||||
|
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!()
|
todo!()
|
||||||
|
},
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user