pub struct DisplayFace {
pub face_id: u64,
pub positions: Vec<Vec3>,
pub normals: Vec<Vec3>,
pub triangles: Vec<[u32; 3]>,
}Expand description
One face of a SolidDisplay: its own vertices, the surface’s outward
normal at each, and its triangles over them (counter-clockwise outward).
Fields§
§face_id: u64The face’s id in the solid.
positions: Vec<Vec3>§normals: Vec<Vec3>§triangles: Vec<[u32; 3]>Trait Implementations§
Source§impl Clone for DisplayFace
impl Clone for DisplayFace
Source§impl Debug for DisplayFace
impl Debug for DisplayFace
Auto Trait Implementations§
impl Forget for DisplayFace
impl Freeze for DisplayFace
impl Move for DisplayFace
impl RefUnwindSafe for DisplayFace
impl Send for DisplayFace
impl Sync for DisplayFace
impl Unpin for DisplayFace
impl UnsafeUnpin for DisplayFace
impl UnwindSafe for DisplayFace
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