forked from StrafesNET/strafe-client
compiler nits
This commit is contained in:
parent
bb2a5e2d35
commit
46c6271286
@ -11,7 +11,7 @@ impl EdgeId{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub trait DirectedEdge{
|
pub trait DirectedEdge{
|
||||||
type UndirectedEdge;
|
type UndirectedEdge:Copy;
|
||||||
fn as_undirected(&self)->Self::UndirectedEdge;
|
fn as_undirected(&self)->Self::UndirectedEdge;
|
||||||
fn parity(&self)->bool;
|
fn parity(&self)->bool;
|
||||||
}
|
}
|
||||||
@ -298,7 +298,7 @@ impl MeshQuery<FaceId,DirectedEdgeId,VertId> for TransformedMesh<'_>{
|
|||||||
//(edge,edge)
|
//(edge,edge)
|
||||||
//(vertex,face)
|
//(vertex,face)
|
||||||
#[derive(Clone,Copy)]
|
#[derive(Clone,Copy)]
|
||||||
enum MinkowskiVert{
|
pub enum MinkowskiVert{
|
||||||
VertVert(VertId,VertId),
|
VertVert(VertId,VertId),
|
||||||
}
|
}
|
||||||
#[derive(Clone,Copy)]
|
#[derive(Clone,Copy)]
|
||||||
@ -308,7 +308,7 @@ pub enum MinkowskiEdge{
|
|||||||
//EdgeEdge when edges are parallel
|
//EdgeEdge when edges are parallel
|
||||||
}
|
}
|
||||||
#[derive(Clone,Copy)]
|
#[derive(Clone,Copy)]
|
||||||
enum MinkowskiDirectedEdge{
|
pub enum MinkowskiDirectedEdge{
|
||||||
VertEdge(VertId,DirectedEdgeId),
|
VertEdge(VertId,DirectedEdgeId),
|
||||||
EdgeVert(DirectedEdgeId,VertId),
|
EdgeVert(DirectedEdgeId,VertId),
|
||||||
//EdgeEdge when edges are parallel
|
//EdgeEdge when edges are parallel
|
||||||
|
Loading…
Reference in New Issue
Block a user