pub struct TriMesh {
pub triangles: Vec<Triangle>,
}Expand description
A Mesh made up of triangles
Fields§
§triangles: Vec<Triangle>Implementations§
Source§impl TriMesh
impl TriMesh
Sourcepub fn separate_by_loose_parts(self) -> Vec<Self>
pub fn separate_by_loose_parts(self) -> Vec<Self>
Seperates any loose parts into there own mesh
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TriMesh
impl RefUnwindSafe for TriMesh
impl Send for TriMesh
impl Sync for TriMesh
impl Unpin for TriMesh
impl UnwindSafe for TriMesh
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more