pub struct MeshData {
pub positions: Vec<f64>,
pub indices: Vec<u32>,
}Expand description
An indexed triangle mesh in file coordinates.
Fields§
§positions: Vec<f64>[x, y, z, ...].
indices: Vec<u32>Three vertex ids per triangle.
Trait Implementations§
impl StructuralPartialEq for MeshData
Auto Trait Implementations§
impl Freeze for MeshData
impl RefUnwindSafe for MeshData
impl Send for MeshData
impl Sync for MeshData
impl Unpin for MeshData
impl UnsafeUnpin for MeshData
impl UnwindSafe for MeshData
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