private
This commit is contained in:
parent
05d91c3221
commit
ec59d251d2
@ -25,6 +25,11 @@ pub struct VertexId(u32);
|
|||||||
pub struct IndexedVertexList{
|
pub struct IndexedVertexList{
|
||||||
vertices:Vec<VertexId>,
|
vertices:Vec<VertexId>,
|
||||||
}
|
}
|
||||||
|
impl IndexedVertexList{
|
||||||
|
pub const fn new(vertices:Vec<VertexId>)->Self{
|
||||||
|
Self{vertices}
|
||||||
|
}
|
||||||
|
}
|
||||||
#[derive(Clone,Copy,Hash,id::Id,PartialEq,Eq)]
|
#[derive(Clone,Copy,Hash,id::Id,PartialEq,Eq)]
|
||||||
pub struct PolygonGroupId(u32);
|
pub struct PolygonGroupId(u32);
|
||||||
pub enum PolygonGroup{
|
pub enum PolygonGroup{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user