pub struct TriMesh {
pub vertices: Vec<Vec3>,
pub indices: Vec<[usize; 3]>,
}Expand description
A triangle mesh for convex decomposition.
Fields§
§vertices: Vec<Vec3>Vertex positions.
indices: Vec<[usize; 3]>Triangle indices (each triple references vertices).
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 UnsafeUnpin 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